Schedule tasks with windows 2003

The following command schedules the “start.cmd” batch file to run hourly beginning at five minutes past midnight. Because the /mo parameter is omitted, the command uses the default value for the hourly schedule, which is every (1) hour. If this command is issued after 12:05 A.M., the program will not run until the next day.

schtasks /create /sc hourly /st 00:20:00 /tn “Move backup to fs” /tr start.cmd

Share

Leave a Reply

Your email address will not be published. Required fields are marked *