Share this page 

Schedule a task from the command lineTag(s): Misc Prog HowTo


On Windows Server 2000/2003, you use the SCHTASKS utility.

Microsoft Technet

Example:

> schtasks /create /tn "MyTest4" /s mymachine.local 
   /tr "cmd.exe /c d:\test.cmd" /sc once /st 16:30:00