SCHEDULER - Cron Task Scheduler
Menu location: GO > Programs > Scheduler

Cron is a freeware Unix-style task scheduler by Gerhard Kalab. You may save the schedule to a hard disk or flash drive so that it automatically runs when the CD is booted. All scheduled activity is logged to x:\programs\cron\cron.log.

Rather than using a bulky GUI for scheduling tasks, Cron utilizes a text file, "crontab", to store tasks. The main executable, cron.exe, periodically scans the crontab file for changes and runs the tasks accordingly.

Each line of file "crontab" requires five time values followed by a command.
<Minute> <Hour> <Day> <Month> <Day-of-week> <Command>

Position: Values:
Minute 0-59
Hour 0-23
Day 1-31
Month 1-12
Day of week 0-6 (0=Sunday, 1=Monday, ..., 6=Saturday)

Use * to specify all possible values of a position: (e.g. a * on 2nd position is the same as specifying every hour)

Use commas to specify multiple values: (e.g. if you want a command to be executed every 10th minute, specify 0,10,20,30,40,50 for minute.)

Use a dash  to specify a range of values: (e.g. value 0-12 for hour means every hour a.m.)

Every line not starting with a number or * is treated as a comment.

Examples
  # run a command every minute
  * * * * * c:\util\DeleteLogs.exe
  # run backup.bat every hour
  0 * * * * c:\util\backup.bat
  # run backup.bat every day at 12:30 p.m.
  30 12 * * * c:\util\backup.bat
  # reboot computer every Tuesday at midnight
  0 0 * * 2 x:\util\peshutdown -r
  # defrag C: and D: drives on 1st of every month at 2:45 p.m.
  45 14 1 * * x:\programs\defrag\jkdefrag c: d: -q
  # copy some files every half hour
  0,30 * * * * xcopy c:\docs\*.* y:\users /s
  # copy a file every hour (a.m.) only on weekdays
  # system commands must specify the command interpreter:
  0 0-12 * * 1-5 cmd.exe /c "copy c:\... e:\"
Important: If one of the five required time values (t1 t2 t3 t4 t5) are missing,  or are not separated by spaces, cron.exe will terminate. Refer to x:\programs\cron\cron.log for troubleshooting.