Using the %nextcmd Variable

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Script Programming > Internal Script Variables >

Using the %nextcmd Variable

 

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