|04 Dec 2010||#1|
| || |
Sleep only when task is finished?
My problem is this: I can control wake up, go to sleep, etc. with scheduled tasks and BAT files.
eE.g. one of my BAT files that sets active a power schame with go to sleep 'never' and hibernate 'never' which I created:
rem "Always On" Power Scheme
C:\Windows\System32\powercfg.exe /setactive 613f668b-8d6f-4cb5-a271-db1aea4ca4a3
but I don't know when the application (in this case BitDefender Virus Scan) finishes (unless it is a Windows application and have Event ID's). I am trying to use tricks (e.g. when the application writes a log file at the end, etc.) but this doesn't always work. Using the this tutorial, I either leave the computer on too long, or it shuts down too early. (In Windows XP, it always waited for the application to be finished before the "unattended shut down" period kicked in.
I would greatly appreciate any help with this issue.
|My System Specs|
|Similar help and support threads for2: Sleep only when task is finished?|
|How can I set a scheduled task to minimize open windows before sleep?||General Discussion|
|Last update never finished||Windows Updates & Activation|
|How to define task to run when computer wakes from sleep||General Discussion|
|shutdown after finished||Software|
|Sleep through Task Scheduler||Performance & Maintenance|
|Problem with Finished Setup??||Installation & Setup|
|Task Scheduler Sleep Implementation||General Discussion|
|Our Sites ||Site Links ||About Us ||Find 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 06:18 AM.