Task scheduler - Windows 2019 - Indefinitly task not running

Eric C 126 Reputation points
2021-03-12T09:58:50.41+00:00

Hi,

This is not a qestion, this is an answer ! I hope it could help because I spent hours.

On Windows server 2019, if you have a task to repeat let say every 5 minutes indefinitly, You have to trigger it this way :

  • On a schedule
  • One time
  • Advanced settings / repeat tasks every xxx minutes for a duration Indefinitly.

or

  • On a schedule
  • Daily
  • Advanced settings / repeat tasks every xxx minutes for a duration 1 Day.

On Windows server 2012, 2008, I used to select "Daily" instead of "One time" for an indefintly period, but if you do so in Windows 2019 Task scheduler, the task will never run, when the time is come it just schedule the next time without running any program.

It sounds finally logic but you have no information about why the task is not running (and there is not entry log in the task scheduler history), and the next run time is however exact, but nothing happens

Regards,

Eric

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,469 questions
{count} votes

14 answers

Sort by: Oldest
  1. Karlie Weng 14,331 Reputation points Microsoft Vendor
    2021-03-15T03:07:21.987+00:00

    Hi Eric @Eric C

    Thanks for sharing with us !

    I truly appreciate your efforts on working this issue. I believe this knowledge must can help a lot of others.

    Microsoft Tech Community would also be a great platform to share and learn. We could post there as well. :)

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Karlie Weng 14,331 Reputation points Microsoft Vendor
    2021-03-24T05:39:09.027+00:00

    Did you enable the operational log ?

    81013-image.png

    1 person found this answer helpful.
    0 comments No comments

  3. Eric C 126 Reputation points
    2021-03-24T10:57:14.433+00:00

    Hi,

    Thanks for the follow up.

    I enabled the log, and there was nothing in it. The conclusion was tasks were not running, and I have to understand why ;-)

    Best regards.

    Eric

    1 person found this answer helpful.

  4. Eric C 126 Reputation points
    2021-03-30T07:45:53.64+00:00

    Unfortunatly no other windows server 2019.

    Best regards,

    Eric

    0 comments No comments

  5. Mullins, Michael E 1 Reputation point
    2021-06-09T17:42:20.81+00:00

    I have the same problem with the Task Scheduler on a Windows 2019 Server. I found if I selected Indefinitely the task will not run. Once I selected Weekly and everyday of Day of the week and set the duration to 365 days the task Started to function Correctly. I am going to experiment with going back to Daily and set the time to every 5 min and try different of day's by year ie.. 365, 730,....

    0 comments No comments