Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a command-line tool that can be used to programatically list, add, edit and delete Windows Scheduled tasks?

I realize that there are better alternatives to Scheduled Tasks, but I need to make changes to an existing set of tasks on a large number of PCs and would like to script it.

Thanks, Jon

share|improve this question

2 Answers 2

up vote 6 down vote accepted

See This link at Microsoft on using at and schtasks to manage scheduled tasks from the command line.

share|improve this answer
    
Great thanks, schtasks looks like exactly what I'm after. –  Jon Aug 7 '09 at 15:53
    
No problem, glad to help. –  Marko Carter Aug 7 '09 at 15:53
schtasks.exe /change /TN pepe /ENABLE
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.