Need to run a task every 30 minutes except days 1-3 of each month.


  • 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

    Thursday, January 02, 2014 10:17 PM


  • 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,...



    Thursday, January 02, 2014 10:49 PM