PAUSE        Time delay script execution

Top  Previous  Next

Syntax:

PAUSE

[  options ]

Arguments:

none

 

Options:

/for=xx

Delay execution for xx seconds.

 

/until=hh:mm

Delay execution until this time-of-day (expressed in military time).

 

 

This script command suspends the execution of a script file for a specified number of seconds or until a specific time-of-day. More extensive scheduling capabilities are offered with the CRON script command.

 

For an overview of Robo-FTP scheduling, see Scheduling File Transfers With Robo-FTP.

 

The PAUSE command is best suited for use in a script file associated with a one-time event, where you start the script running and it waits until the specified time to continue processing. You can loop in the script file and thus repeat the event, but you still have a single event waiting for the time to start.

 

Consider the following example in which script execution is delayed until 5:00PM.

 

PAUSE /until=17:00

 

Related Commands: CRON