1
1
How to schedule a task to run every weekday except on the 1st day of the month?
To avoid the XY problem: I'm building a backup system that makes backups on the 1st of every month and daily backups every weekday. I have three tasks running three programs:
- Monthly backup - 1st of every month
- Daily backup - mon-fri
- Clear old backups - every day
I keep X monthly backups and Y daily backups. If the 1st happens on a weekday, I get two backups very close to each other and I want to avoid the hard drive cost
Win 7, Win server 2008 and Win server 2012 platforms.
Can't you check if it's the first of a month in the daily script/program. – TobiMarg – 2014-01-16T12:28:27.117