Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Could anyone give me an example of how to use schtasks and at on Windows to schedule a weekly job?

In particular, I'd like to know how to make sure this job persists between server reboots, which presumably it won't necessarily do if I just type

Is there a Windows equivalent of the crontab file?

Thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

AT will not persist, but schtasks will.

Example schtasks command to run Frecell on the first sunday of every month (Windows 7)

SCHTASKS /Create /SC MONTHLY /MO first /D SUN /TN GameTime /TR c:\windows\system32\frecell
share|improve this answer
    
genius, thanks! –  AP257 Mar 17 '11 at 18:41

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.