I am facing an issue but I couldnt able to find out the root cause of this. First of all sorry I am not clear on this.
I have an application which do call some scripts and gets the sql data from one server and add it to another server. While running it will take around 50 minutes to complete.
But when I call this application via windows task scheduler. Its running for half n hour as expected and for some reason the application is been hanged or paused (not sure what is happening) for 7 hours and after that its getting resumed and takes another 20 minutes to complete. Is there any possibility of the windows task scheduler being paused for 7 hours and resuming back? Like due to log off or any other way?
Below are the settings that is used.
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>P3D</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
Thanks in Advance