Question

Scheduled tasks in WinSvr 2016 don't run after being disabled then enabled

By tcallahan ·
I am having a problem with the Task Scheduler on Windows Server 2016 not running repetitive tasks after they are disabled and re-enabled.

I create a task with a “Triggers->Start” of five minutes in the future and set the task to run every five minutes. The “Settings->Run task as soon as possible after scheduled start is missed” option is checked.

Everything works fine – task runs at the scheduled Start time and then runs every five minutes.

Disable the task and wait more than five minutes.

Enable the task, it does not run again.

The Next Run time continues to update every five minutes but the task does not run and the Last Run Time is never updated.

There are no entries in the Task History once the task is re-enabled and no events in the Windows event logs.

Thanks,
Tim
1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Found solution

by tcallahan In reply to Scheduled tasks in WinSvr ...

The task was set to run every day and repeat either indefinitely or daily. I changed it to Run Once and repeat indefinitely and it behaves.

Having trouble understanding why this works though :)

Back to Windows Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums