Schtasks.exe
ex : schtasks /create /tn "test" /tr "calc.exe" /sc MINUTE
/tn is the taskname
/tr is task to run.
/sc is for schedule
Above command creates a task with name test which run every minutes and open window calculator.
Similerly you can delete the task you have created.
schtasks /delete /tn "test"
This command delete the task test.
For more info you can follow window task scheduler help page.
No comments:
Post a Comment