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

I'm trying to automate some jobs and am using the 'at' command on Windows XP. However, Vista doesn't have this.

What do I use instead? It needs to be usable from a batch script as well.

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

schtasks is 'at' on steroids for Windows.

From the Windows Vista Task Scheduler page:

Scripting and Command Line Options. Improving the user experience is one of the main goals of the Windows Vista Task Scheduler. For IT professionals that prefer to use a command line tool instead of GUI, the schtasks.exe command line utility has been extended to cover all the new functionality added for Windows Vista. The application programming interface (API) is now also scriptable.

A hack exists for running it on Windows 2000.

share|improve this answer
    
Does it work on Vista/7? Or even 2k for that matter? –  samoz Jul 20 '09 at 18:58
add comment

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.