Using the %nextcmd Variable

Top  Previous  Next

 

The %nextcmd variable is used in conjunction with the CRON script command. The operation to be performed, if any, whenever a scheduling condition is matched, is saved in this variable.

 

Consider the following example in which the CRON command is used to awaken Robo-FTP once an hour to execute the hourly.s script file.

 

:loop

;; note the use of both single and double quotation marks

CRON "@hourly" 'CALL "hourly.s"'

PERFORM %nextcmd

GOTO loop

 

See the description of the CRON command for information on scheduling Robo-FTP operations.

 

 

See also: Internal Script Variables