Task scheduler is running, but sometimes does not follow the schedule

Taklam Li 21 Reputation points
2020-12-16T04:02:22.86+00:00

I have set a task to shutdown my pc if it is idle at 10:30am.

It works fine if it is really idle at 10:30am as below on 12/01.
But sometimes if I left my pc for a while, it will automatically run the task and shutdown itself. Like on 12/07, it shutdown at 1:25pm.
48593-image.png

Here is my task setup. Please help me to figure out the problems, thank you!!
48592-image.png
48533-image.png
48534-image.png
48525-image.png

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Joy Qiao 4,911 Reputation points Microsoft Employee Moderator
    2020-12-18T09:25:37.577+00:00

    Hi,

    Thank you for your reply.

    I checked the task contents and didn't found any suspicious configuration, also I configured a similar task with yours belong to your configuration, it shows the same action result with you.

    So I think the behavior is caused by some threads which caused the computer unable to get into idle. If we want to troubleshoot further deep, we could use process monitor tool to monitor thread actions before computer shutdown and task triggered.

    As the task is waiting for computer idle status instead of force computer to shutdown, so I think it would has a more flexible time than a specific time to force shutdown. So that, we think we could ignore the behavior.

    Bests,

    ============================================

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Joy Qiao 4,911 Reputation points Microsoft Employee Moderator
    2020-12-17T07:37:00.663+00:00

    Hi,

    Does the issue only occur on that day 12/7 or same behavior occur on several days?

    I noticed you have configured conditions for idle, please monitor the task if it works well when idle on scheduled time. If system have necessary thread to process, the idle time will delay, and task might be delay to trigger.

    Also please export task file and upload to One Drive, then poste the link here for more details.

    Bests,

    ============================================

    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.


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.