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 "master.s")
:top
CRON
PERFORM %nextcmd
GOTO TOP
The Called Script (name it "called.s")
MESSAGEBOX "Hi!"
The Crontab File (name it "crontab.txt")
# 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 CRON command.
See also:
When using the CRON command I can only get the first scheduled event to happen. Why?
Can the CRON conditions be changed while Robo-FTP is running?
Tags: CRON, Robo-FTP, scheduling

