This Content is from SuperUser. Question asked by NoExpert
I have a backup script that runs every two hours through task scheduler.
With Modern Standby, the machine remains connected to the network to allow it to receive updates, VoIP calls etc.
When I put my laptop to sleep, the script is still launched every two hours.
This is unnecessary.
Is there a setting to tell task scheduler to run the task only when the machine is on and not sleeping?
I’ve not been able to find this, so I’ve resorted to disabling connectivity in Standby, which is not ideal:
Full disclosure; this is a follow up to my earlier question:
How can I wake my laptop after using psshutdown64.exe -d -t 0?
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from SuperUser , is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.