0

Consider the following scenario:

On a system running Windows Server 2012 R2, I have created Task A in the Windows Task Scheduler.

The task has a trigger to run daily, starting on May 11th, 2016 at 12:15 AM, and repeat every fifteen minutes for 23 hours. In the Task's Settings tab, the check box for the option Run task as soon as possible after a scheduled start is missedis checked.

It is currently 5:00 PM on May 12th, 2016.

If I disable Task A in the Task Scheduler interface and wait 16 minutes before re-enabling the task, will the system consider the task missed and run the task?

Additionally, if the task is considered missed and the system runs the task, will the 15 minute repetition resume as well?

I've tried researching this information on TechNet but the relevant article doesn't go into much detail.

If anyone knows of an article that goes in to depth regarding Task Scheduler's time trigger behavior, I would appreciate a link to the resource.

  • Yes, it should run. But not immediately. By default it waits 10 minutes. That is how it used to work on Windows 2008 R2 and 2012 as well. However, The repetition time could also change (the schedule) as the runtime changes from this moment. You should also consider configuring 'If task fails, restart every' parameter. – Epoxy May 13 '16 at 1:19
  • I also found this Technet article: technet.microsoft.com/en-us/library/cc722178(v=ws.11).aspx – Epoxy May 13 '16 at 1:19
  • I read that article as well. I guess the root of my question is: what does Task Scheduler interpret "missed" as, primarily in relation to a task being disabled. – int_541 May 13 '16 at 4:10
  • Probably I misunderstood. My apologizes. If you disable the task you created using task scheduler, there is no reason to run or miss the task - if scheduler/scheduled task was not operating. Therefore, it does not consider this as a miss, according to my experience. It will operate according to the schedule. If you disable it at 5 AM and resumes from 5:16 AM, i does not consider this as a miss. According to my experience. :) – Epoxy May 13 '16 at 12:08
  • There is nothing stopping you testing it yourself ... then you can answer your own question. – DavidPostill May 13 '16 at 13:40
0

If you disable the task you created using task scheduler, there is no reason to run the task. Therefore there is no way of missing the task (otherwise there is no logic). If scheduler/scheduled task was not operating, after a system shutdown or something. it should work as missed. However, if you deliberately disable it, it does not behave like that as it was a direct command (through task scheduler). Therefore, it does not consider this as a miss, according to my experience. It will operate according to the schedule. If you disable it at 5 AM and resumes from 5:16 AM, it does not run the task immediately. It will run as 5:30 AM without a problem.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.