Category: CMD

Make a new task in W2k3 from the command line

From the command line:

cmd>schtasks /create /tn "New Task" /tr "C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://www.simonalsa.com" /sc hourly
The task will be created under current logged-on user name ("APOLO\administrator").
Please enter the run as password for APOLO\administrator: ***************
 
SUCCESS: The scheduled task "New Task" has successfully been created.

WordPress Themes