Scheduled tasks start 6 hours late

%3CLINGO-SUB%20id%3D%22lingo-sub-2810349%22%20slang%3D%22en-US%22%3EScheduled%20tasks%20start%206%20hours%20late%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2810349%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22%22%3E%3CSTRONG%3EIssue%3A%3C%2FSTRONG%3E%20Two%20scheduled%20tasks%20set%20to%20start%20at%2011%3A30pm%20both%20started%20at%205%3A30am%2C%20the%20next%20morning.%20Looking%20for%20a%20reason%20why%20this%20might%20happen.%20Perhaps%20something%20related%20to%20time%20zones%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EBackground%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3EThis%20is%20regarding%20the%20home%20version%20of%20W10.%3C%2FP%3E%3CP%3EI%20have%20two%20scheduled%20tasks.%20FYI%20they%20make%20backups%20for%20my%20computer%20-%20one%20for%20changes%20and%20one%20to%20mirror%20all%20files%20under%20%5Cusers%5Cfolder.%3C%2FP%3E%3CP%3EThese%20ran%20successfully%20for%20years%20on%20my%20old%20computer%20and%20I%20just%20setup%20these%20same%20tasks%20on%20a%20new%20one.%3C%2FP%3E%3CP%3EI%20am%20in%20US%20Eastern%20timezone%20(%2B5%3A00).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EResources%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3EI%20attached%20the%20XML%20file%20of%20one%20task.%20I%20edited%20it%20to%20anonymize%20the%20Author%20(%5Ccomputer%20name%5Caccount)%2C%20and%20UserID.%3C%2FP%3E%3CP%3ESorry%20-%20don't%20have%20scheduler%20history.%20Forgot%20to%20activate%20it%20until%20today.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EAlso%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3EBonus%20points%20if%20you%20can%20also%20tell%20me%20why%20these%20tasks%20took%203%20hours%20to%20complete%20when%20they%20typically%20took%20minutes%20on%20the%20older%20and%20MUCH%20slower%20computer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EPS%3C%2FSTRONG%3E%20-%20Sorry%20if%20I%20posted%20this%20to%20the%20wrong%20forum.%26nbsp%3B%20I%20posted%20it%20to%20answers.microsoft.com%20but%20was%20told%20I%20should%20post%20it%20in%20docs.microsoft.com%20and%20then%20I%20found%20techcommunity.microsoft.com.%26nbsp%3B%20I%20am%20not%20a%20professional%3B%20just%20a%20home%20user%20hope%20to%20get%20some%20advice.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E---------------%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CTASK%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fwindows%2F2004%2F02%2Fmit%2Ftask%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fwindows%2F2004%2F02%2Fmit%2Ftask%3C%2FA%3E%22%26gt%3B%3C%2FTASK%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3CREGISTRATIONINFO%3E%3C%2FREGISTRATIONINFO%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CDATE%3E2021-10-03T10%3A12%3A06.1982993%3C%2FDATE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CAUTHOR%3ECOMPUTERNAME%5CACCOUNT%3C%2FAUTHOR%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CURI%3E%5CBACK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26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CUSERID%3ES-1-1-11-111111111-111111111-111111111-1111%3C%2FUSERID%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CLOGONTYPE%3ES4U%3C%2FLOGONTYPE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CRUNLEVEL%3EHighestAvailable%3C%2FRUNLEVEL%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3CSETTINGS%3E%3C%2FSETTINGS%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CMULTIPLEINSTANCESPOLICY%3EIgnoreNew%3C%2FMULTIPLEINSTANCESPOLICY%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CDISALLOWSTARTIFONBATTERIES%3Etrue%3C%2FDISALLOWSTARTIFONBATTERIES%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CSTOPIFGOINGONBATTERIES%3Etrue%3C%2FSTOPIFGOINGONBATTERIES%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CALLOWHARDTERMINATE%3Etrue%3C%2FALLOWHARDTERMINATE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CSTARTWHENAVAILABLE%3Etrue%3C%2FSTARTWHENAVAILABLE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CRUNONLYIFNETWORKAVAILABLE%3Efalse%3C%2FRUNONLYIFNETWORKAVAILABLE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CIDLESETTINGS%3E%3C%2FIDLESETTINGS%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CSTOPONIDLEEND%3Etrue%3C%2FSTOPONIDLEEND%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CRESTARTONIDLE%3Efalse%3C%2FRESTARTONIDLE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CALLOWSTARTONDEMAND%3Etrue%3C%2FALLOWSTARTONDEMAND%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CENABLED%3Etrue%3C%2FENABLED%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CHIDDEN%3Efalse%3C%2FHIDDEN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CRUNONLYIFIDLE%3Efalse%3C%2FRUNONLYIFIDLE%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CDISALLOWSTARTONREMOTEAPPSESSION%3Efalse%3C%2FDISALLOWSTARTONREMOTEAPPSESSION%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CUSEUNIFIEDSCHEDULINGENGINE%3Etrue%3C%2FUSEUNIFIEDSCHEDULINGENGINE%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CWAKETORUN%3Efalse%3C%2FWAKETORUN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CEXECUTIONTIMELIMIT%3EP1D%3C%2FEXECUTIONTIMELIMIT%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CPRIORITY%3E7%3C%2FPRIORITY%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3CACTIONS%3E%3C%2FACTIONS%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CEXEC%3E%3C%2FEXEC%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CCOMMAND%3EC%3A%5CBackupTools%5CMirrorBackup.cmd%3C%2FCOMMAND%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%3C%2FP%3E
New Contributor

Issue: Two scheduled tasks set to start at 11:30pm both started at 5:30am, the next morning. Looking for a reason why this might happen. Perhaps something related to time zones?

 

Background:

This is regarding the home version of W10.

I have two scheduled tasks. FYI they make backups for my computer - one for changes and one to mirror all files under \users\folder.

These ran successfully for years on my old computer and I just setup these same tasks on a new one.

I am in US Eastern timezone (+5:00).

 

Resources:

I attached the XML file of one task. I edited it to anonymize the Author (\computer name\account), and UserID.

Sorry - don't have scheduler history. Forgot to activate it until today.

 

Also:

Bonus points if you can also tell me why these tasks took 3 hours to complete when they typically took minutes on the older and MUCH slower computer.

 

Thank you!

 

PS - Sorry if I posted this to the wrong forum.  I posted it to answers.microsoft.com but was told I should post it in docs.microsoft.com and then I found techcommunity.microsoft.com.  I am not a professional; just a home user hope to get some advice.

 

---------------

 

<?xml version="1.0" encoding="UTF-16"?>

<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">

  <RegistrationInfo>

    <Date>2021-10-03T10:12:06.1982993</Date>

    <Author>COMPUTERNAME\ACCOUNT</Author>

    <URI>\BACKUP-Mirror</URI>

  </RegistrationInfo>

  <Triggers>

    <CalendarTrigger>

      <StartBoundary>2021-10-03T23:30:00</StartBoundary>

      <Enabled>true</Enabled>

      <ScheduleByDay>

        <DaysInterval>1</DaysInterval>

      </ScheduleByDay>

    </CalendarTrigger>

  </Triggers>

  <Principals>

    <Principal id="Author">

      <UserId>S-1-1-11-111111111-111111111-111111111-1111</UserId>

      <LogonType>S4U</LogonType>

      <RunLevel>HighestAvailable</RunLevel>

    </Principal>

  </Principals>

  <Settings>

    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>

    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>

    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>

    <AllowHardTerminate>true</AllowHardTerminate>

    <StartWhenAvailable>true</StartWhenAvailable>

    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>

    <IdleSettings>

      <StopOnIdleEnd>true</StopOnIdleEnd>

      <RestartOnIdle>false</RestartOnIdle>

    </IdleSettings>

    <AllowStartOnDemand>true</AllowStartOnDemand>

    <Enabled>true</Enabled>

    <Hidden>false</Hidden>

    <RunOnlyIfIdle>false</RunOnlyIfIdle>

    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>

    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>

    <WakeToRun>false</WakeToRun>

    <ExecutionTimeLimit>P1D</ExecutionTimeLimit>

    <Priority>7</Priority>

  </Settings>

  <Actions Context="Author">

    <Exec>

      <Command>C:\BackupTools\MirrorBackup.cmd</Command>

    </Exec>

  </Actions>

</Task>

0 Replies