2

This is the one I have to run first day of the month, but I need to run it the first sunday of every month.

at 13:00 /every:1 D:\DBMaintenance\MySc.bat

Thanks

0

1 Answer 1

4

You can't do this with the at command. It only allows for either EVERY Sunday or NEXT Sunday.

You'll need to use Scheduled Tasks instead. Either with the gui or via cli.

I'll steal this one from Hyppy as an example:

SCHTASKS /Create /SC MONTHLY /MO first /D SUN /TN GameTime /TR c:\windows\system32\frecell

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy