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



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]