I am trying to get a task to run every 30 minutes, EXCEPT on days 1, 2, and 3 of each month. Is this possible? It seems that the "Repeat Task Every" clause is overriding the "Days" clause because it continues to run every 30 minutes
even on the days I've excluded. I can't seem to include a screenshot since my account is not verified, but the settings are:
Months: January, February, March ...
Days: 4-31, Last
Repeat task every: 30 minutes for a duration of: Indefinitely
You should include the exception in your script. Test the day in the loop. If the day is 1rst,2nd or 3 rd day of the month, the task is skipped. Look into Script Center for ideas. There is a variety of ways how to achieve the goal - powershell, visual basic
script, regular expression, .NET languages,...
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.