Windows 10: Bug? Schedule task trigger a day before & on next start-up after schedule, All Win10ver

Discus and support Bug? Schedule task trigger a day before & on next start-up after schedule, All Win10ver in Windows 10 Customization to solve the problem; Schedule task set on 08:00:00 hour once a week on any day of the week get trigger outside schedule as follow : Trigger 1 : exactly 08:00:00 a day... Discussion in 'Windows 10 Customization' started by AutocareYuLeeHong, Sep 21, 2020.

  1. Bug? Schedule task trigger a day before & on next start-up after schedule, All Win10ver


    Schedule task set on 08:00:00 hour once a week on any day of the week get trigger outside schedule as follow :

    Trigger 1 : exactly 08:00:00 a day before the schedule date.
    example : task Z set to run on 08:00:00 every monday of week, trigger & success complete on 08:00:00 of sunday

    Trigger 2 : the next start-up after the actual schedule trigger.
    example : task Z set to run on 08:00:00 every monday of week, trigger a "missed task start rejected" on next system/machine start-up after the actual schedule.
    if the "next start-up" were next day, that the history logged the "missed task..." is next day,
    if the "next start-up" were 2 hour later, then the history logged the "missed task..." is 2 hour later.
    >> after the actual schedule task done, restart the system only the first next start-up right after the schedule will log a history of "missed task start rejected" event.

    * Tested can be replicate on both windows 10 pro ver 2004 latest updated & home ver 2004 latest updated

    * Occur on any day of the week mon-fri as long as the time if exactly 08:00:00
    * Only task set for exactly 08:00:00 hour trigger this "bug", any thing like 07:59:59 or 08:00:01 wouldn't trigger the bug.
    * Can occur on multi trigger task as long as one of the trigger time is 08:00:00 and only that 08:00:00 schedule trigger this bug.

    Testing machine info :
    OS : Win 10 pro ver 2004, Win 10 home ver 2004
    OS time zone : GMT+8
    OS language : Eng UK
    *** yet to test for different time time zone!

    :)
     
    AutocareYuLeeHong, Sep 21, 2020
    #1
  2. Wim Spaak Win User

    Windows Task Scheduler does not trigger a task, after a PC-restart during the day

    Hi Jarius,



    Thank you for your reply.

    • On October 25, 2016, I checked the Windows Task Scheduler settings, according to your advice.
    • The next morning I powered-on my PC at 09:30 and made a screendump of the Task Scheduler at 10:08.

      At that time 2 of my 5 scheduled backup task were triggered conform schedule and the according backups were carried out correctly (see the green framed surfaces in the 10:08 window below)
    • I powered-off my PC at 10:12 and powered it on again at 15:45.


    Bug? Schedule task trigger a day before & on next start-up after schedule, All Win10ver ec2f4458-2467-4cd3-b485-49a57dde937b.jpg


    • At 15:50 I made a sreendump of the Task Scheduler window, where was indicated that 3 backup tasks were carried out correctly in the past at about 10:00 (see the green framed surfaces in the 15:50 window in the picture above).
    • At 16:40 I made a screendump again. Now the backup task that were triggered after the first power-on at about 10:00, now were not triggered anymore (the red framed surfaces in the 16:40 window) and the backup task that were not triggered during the first
      power-on, were now triggered correctly at about 16:00 (the green framed surfaces in the 16:40 window).
    • I also made screendumps again at 17:40 and 18:40. In both cases the backup tasks triggered during the first power-on at 9:30 were not triggered anymore and the backup tasks that were not triggered during the first power-on were correctly triggered with
      the scheduled 1 hour interval.


    My conclusion:

    • If my PC is powered-on before the first scheduled backup task, all backup job triggers are carried out conform schedule.
    • After a PC restart the previously triggered backup task are not triggered anymore during the rest of the day.
    • Only backup tasks that were not triggered before the PC restart, are triggered correctly after the PC restart.
    • A manual run of a backup task always result in a correct backup task trigger.


    This must be a bug in the Windows Task Scheduler.



    I hope you will find a solution for this problem.



    Best regards, Wim
     
    Wim Spaak, Sep 21, 2020
    #2
  3. Task Scheduler: task gets triggered by event but does not start

    I know a thing or two about the Task Scheduer but so far I am unable to wrap my mind around your problem. Here is why:

    • I do not recognise the screen snapshot your posted. What is it?
    • What event is supposed to trigger the scheduled task?
    • What is the scheduled task supposed to run?
    • You write "there is the initial event 108 showing the event getting triggered". How can an event trigger another event?
    • Do time-triggered tasks work reliably?
     
    Frederik Long, Sep 21, 2020
    #3
  4. Wim Spaak Win User

    Bug? Schedule task trigger a day before & on next start-up after schedule, All Win10ver

    Windows Task Scheduler does not trigger a task, after a PC-restart during the day

    The problem:

    I started my PC before the first Backup4all (my backup program) task schedule (at 10:00) and during the day all Backup4all backups were made correctly, with an interval of the programmed 1 hour.

    At 15:45 I restarted my PC. No Backup4all backups were made from the moment the PC was restarted.

    At 16:13 I made a screendump of the Windows Task Scheduler (see below).
    Bug? Schedule task trigger a day before & on next start-up after schedule, All Win10ver b43ad53d-5d98-4608-a280-27c1eed84187.jpg
    You
    can see in the attachment that Windows Task Scheduler updates the Next Run Time at about 16:00, but Last Run Time remains on the one before PC-restart.

    So Backup4all is not triggered by the Windows Task Scheduler to backup.

    At 16:33 a made a screendump of the Windows Task Scheduler screen again and you see in the blue frame that the Next Run Time is updated, but Last Run Time is not.

    I also enabled the Windows Task Scheduler History and at 16:33 you see that the last event was from 15:00



    Finally I used the Action "Run" in the Windows Task Scheduler at 17:17 and Backup4all started the backup successfully at 17:17:09.

    Now the Windows Task Scheduler History also shows an event: that the task is completed



    It seems that Windows Task Scheduler triggers the backup job correctly, when the PC is powered-on before the first task schedule time. After a PC restart or a daily power-on after the first backup should be made, the backup program is not triggered by Wimndows
    Task Scheduler anymore.

    I tried this by both the “Run task as soon as possible after a scheduled start is missed" checked and unchecked. In case of a check, the backup tasks are still not triggered by Windows Task Scheduler.

    Does anybody has a solution for this problem, or is it a bug in the Windows Task Scheduler ( the problem started to occur a few month ago).
     
    Wim Spaak, Sep 21, 2020
    #4
Thema:

Bug? Schedule task trigger a day before & on next start-up after schedule, All Win10ver

Loading...
  1. Bug? Schedule task trigger a day before & on next start-up after schedule, All Win10ver - Similar Threads - Bug Schedule task

  2. Task scheduler screenshot trigger?

    in Windows 10 Ask Insider
    Task scheduler screenshot trigger?: So what event would you use for windows task scheduler if your trying to make it so everytime I take a rectangle screenshot with the snipping tool it automatically saves it to a folder? submitted by /u/Pacman042 [link] [comments]...
  3. Task Scheduler - trigger not working properly

    in Windows 10 BSOD Crashes and Debugging
    Task Scheduler - trigger not working properly: Hi, I've been trying to create a scheduled task using the "at log on" Any user type and this appears to only trigger if I log out and log back in the user once Windows has already loaded. However, after a clean Windows restart/shutdown cycle, the event will not trigger at...
  4. Task Scheduler wrong trigger time for monthly tasks

    in Windows 10 BSOD Crashes and Debugging
    Task Scheduler wrong trigger time for monthly tasks: Hi, I would like to inform about problem with Task Scheduler work. I am working with TS quite active around year, and have ~50 scripts running from minute to once per year resolution. During this night one of my monthly scripts triggered the day before. I nearly same...
  5. Task Scheduler - Trigger "At Logon" executes task BEFORE logon!?

    in Windows 10 Ask Insider
    Task Scheduler - Trigger "At Logon" executes task BEFORE logon!?: Long story short: I ended up using the Task Scheduler to run a batch file when the user logs on, which is after the user entered and confirmed their password. Or so I thought, because it's described like this on every site and every forum. Yet for some reason the task runs...
  6. Using keyboard combination as Task Scheduler trigger

    in Windows 10 Ask Insider
    Using keyboard combination as Task Scheduler trigger: Hello, I have a question related to the Task Scheduler. I'd like to create a task that behaves as follows: Alt + Ctrl + H + I pressed (simultaneously) Computer enters hibernation As Trigger I chose: On an event > Hardware Event > EventCollector, and now need an event ID....
  7. Scheduled task triggered at wrong time

    in Windows 10 BSOD Crashes and Debugging
    Scheduled task triggered at wrong time: I've created a task which should run every 3rd of a month. The trigger is [ATTACH] <Triggers> <CalendarTrigger> <StartBoundary>2016-11-16T02:00:00</StartBoundary> <Enabled>true</Enabled> <ScheduleByMonth> <DaysOfMonth>...
  8. Scheduled task spills into the next period

    in Windows 10 Customization
    Scheduled task spills into the next period: I have a task in Windows 10 Task Scheduler that runs every hour. The task is running a Java JAR, and it's actually taking longer than an hour. Task Scheduler is terminating the task run when it reaches an hour and starting the next run. Is it possible to not terminate any...
  9. Task Scheduler is not starting

    in Windows 10 BSOD Crashes and Debugging
    Task Scheduler is not starting: Whenever I try to start Task Scheduler, it always brings me to an error. It says, "The Task Scheduler service on Local Computer started and then stopped. Some services stop automatically if they are not in us by other services or programs. I need to start this, so I can...
  10. Task Scheduler Will Not Start

    in Windows 10 Support
    Task Scheduler Will Not Start: Hey everyone, Have an issue with task scheduler not stating which is causing issues with say Nvidia Geforce Experience not starting as it requires it to update. When I try to start it from services I get that error. [img] When I try to launch the task scheduler...