Share via

Task scheduler - Windows 2019 - Indefinitly task not running

Eric C 126 Reputation points
Mar 12, 2021, 9:58 AM

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

14 answers

Sort by: Most helpful
  1. Karlie Weng 18,581 Reputation points Microsoft Vendor
    Mar 15, 2021, 3:07 AM

    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 18,581 Reputation points Microsoft Vendor
    Mar 24, 2021, 5:39 AM

    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
    Mar 24, 2021, 10:57 AM

    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
    Jun 29, 2021, 7:42 AM

    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
    Jun 29, 2021, 9:51 AM

    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.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.