Task Scheduler: running skipped task when it shouldn't?

Page 2 of 2 FirstFirst 12

  1. Posts : 14
    Windows 7 Pro x64
    Thread Starter
       #11

    One thing I forgot to mention, and which might prove to be important, is that I use Wake On Lan functionality to wake that computer. The behavior I described above takes place in response to a WoL magic packet. The computer wakes up and then immediately falls asleep again. The next WoL packet wakes it up permanently.

    I'll try to wake it up using the power button and see it it makes a difference. It shouldn't... but who knows?
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #12

    AndreyT said:
    However, the next morning when I come to that computer and wake it up for the first time, it wakes up and then immediately falls asleep again. Then I wake it up again and it stays on. Looking into the Task Scheduler reveals that Task Scheduler actually decides to run this task immediately after I wake up the computer, thus putting it back to sleep.
    You are looking at the history for that task - correct?

    Task Scheduler: running skipped task when it shouldn't?-capture.png

    Are the time stamps in the history for your task correct?

    I'm grasping at straws here. I cannot fathom why your task would run once the time is missed - no matter how you wake the computer.
      My Computer


  3. Posts : 14
    Windows 7 Pro x64
    Thread Starter
       #13

    UsernameIssues said:
    You are looking at the history for that task - correct?
    I'm looking at the value in the "Last Run Time" column of Task Scheduler. Yes, for that specific task.

    For some reason when I open task properties, the "History" tab is shown as "(disabled)". No history is shown. (It is the case for all other tasks in Task Scheduler as well).
      My Computer


  4. Posts : 10,485
    W7 Pro SP1 64bit
       #14

    History is disabled by default.

    Try selecting "Enable All Tasks History".

    Task Scheduler: running skipped task when it shouldn't?-capture.png
      My Computer


  5. Posts : 14
    Windows 7 Pro x64
    Thread Starter
       #15

    Enabled task history, put the computer to sleep yesterday (way before 9pm).
    This morning I sent it a WoL command at 9:41am. It woke up and, as usual, went to sleep immediately after that. The next WoL command woke it up successfully.

    Here's the history. (As you can see, nothing new there. For some reason Task Scheduler believed that there was a "time trigger condition" for launching that task at 9:41am)
    Attached Thumbnails Attached Thumbnails Task Scheduler: running skipped task when it shouldn't?-ts.png  
      My Computer


  6. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #16

    I made sure that "Wake the computer to run this task" flag is cleared.
    Change that setting so the PC does wake-up to run your task at 9 PM even if it is sleeping, and immediately goes back to sleep.
    Then when you wake the PC in the morning see if it stays awake with the "first wake-up".
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:55.
Find Us