Scheduling XCOM Transfers in Windows
search cancel

Scheduling XCOM Transfers in Windows

book

Article ID: 66444

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows

Issue/Introduction

Normally a transfer submitted for processing is run immediately.  Can it be scheduled for a future time?

Environment

XCOM™ Data Transport® for Windows

Resolution

XCOM provides two parameters which allow to specify a specific day and time at which the transfer is to be processed.
These parameters are START_DATE and START_TIME. In the Windows GUI you can specify the desired day and time for a scheduled transfer in the section "Misc Options" in field 'START'. You can specify day and time directly using format "mm/dd/yy hh:mm:ss" or click on the calendar symbol to select from the incorporated calendar.

When using the command xcomtcp you specify START_DATE=mm/dd/yy and START_TIME=hh:mm:ss.
There are alias parameters STARTDATE and STARTTIME available which allow different formats:
 STARTDATE=yyyymmdd (20151231 represents Dec. 31st, 2015)
 STARTDATE=yyddd    (Julian date, 16001 represents the first day of 2016) 
 STARTDATE=+nnn     (nnn days from today, nnn in the range from 0 to 999)

 STARTTIME=hhmm     (1300 represents 1 pm)
 STARTTIME=+hhmm    (+0330 represents start in three and a half hour)
                                                
There is not a more detailed scheduling available inside XCOM which would allow to execute a transfer every Nonday, every 1st day of a month or every working day at 2pm.

That is not necessary as there is the Task Scheduler available which is delivered with Windows 11. Please see How to Schedule Any app Windows 11 - Microsoft Comunity

On a Windows Server, bring up the task scheduler and you can run a program or a script.