How to create a daily task that repeats every 15 mins EXCEPT between the hours of 12AM – 2AM

scheduled-taskwindows-server-2008windows-server-2008-r2

Is it possible to create a scheduled task that runs every 15 min except for a few hours of the day.

E.g. A task that runs every 15 minutes except between the hours of 2PM & 4PM.

The reason I need to do this is because I have another task that writes to the same file once a day and takes 1 hour to parse/upload and I cannot have the 15 min task attempting to parse/upload while the larger one is working…

Best Answer

You would want to set the trigger to On a schedule to look like this below. The task will start at 4PM and continue until 2PM where it will stop for 2 hours, and continue again. enter image description here