Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).
I'd like to see an example of how to use the CRON command.
The following is an example of how to use the
CRON script command. It consists of a "master script" which is the script that Robo-FTP will run. Also, there is another script that Robo-FTP will call whenever the scheduled event fires. Finally, there is the "
crontab.txt" file itself which creates an event that will fire at 5PM every weekday (Monday through Friday). So, create three files as shown below:
The Master Script (name it "
:top CRON PERFORM %nextcmd GOTO TOP
The Called Script (name it "
The Crontab File (name it "
# Example crontab file 0 17 * * 1-5 call "called.s"
After creating these files, save them in the Robo-FTP home folder (probably "
C:\Program Files\Robo-FTP X.X") and launch Robo-FTP with the "
master.s" script file. At 5PM, a message box saying "Hi!" will pop up. Use this same outline for any scheduled operation when you are using the "
crontab.txt" with file
Article last updated: 2011-12-06
Tags: CRON, Robo-FTP, scheduling