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,444 questions
{count} votes

14 answers

Sort by: Most helpful
  1. Karlie Weng 13,951 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 13,951 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. Oleksii Skirko 26 Reputation points
    2021-06-29T07:42:55.037+00:00

    Guys, any update on it?
    I confirm this issue on my Windows 10 20H2. I create a scheduled task via GPO and set Trigger as Daily, repeat Every 1 hour indefinitely - and have the same issue - the task doesn't run:
    110191-schedule.png

    1 person found this answer helpful.
    0 comments No comments

  5. Eric C 126 Reputation points
    2021-06-29T09:51:55.433+00:00

    Hi,

    Try to change for a duration of : "Indefinitely" to "1 Day". See my first post which is a workaround for this "problem".

    Regards,

    Eric.

    1 person found this answer helpful.