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
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
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