Latest Post

Error: No input file specified.

While trying to run a codeigniter app the other day I came across this error just after I had finished uploading the files and making the ne...

Saturday, December 27, 2014

By Example: How to Create, Modify and Delete Scheduled Tasks from the DOS Command Line

Create ‘Task 1’ to run C:\folder1\folder2\task1.bat at 11 PM everyday:

 

SchTasks /Create /SC DAILY /TN “Task 1” /TR “C:\folder1\folder2\task1.bat” /ST 23:00

 

Modify ‘Task 1’ to run at 11.45 pm instead:

 

SchTasks /Change /TN “Task 1” /ST 23:45 

 

 

Delete the task named ‘Task 1’:

 

SchTasks /Delete /TN “Task 1” 

 

Read more from Microsoft's Documentation

Chitika Ads