
Quote: Originally Posted by
johngalt
The good news - I have my Router sending syslog messages to my computer, which I then report to SANS.org via the DShield project - and I have a task scheduler item set to wake the computer every hour to do this. It wakes the computer, sends the email, and goes back to sleep in as little as 5 minutes.
Why wait for that long for the computer to go back to sleep? Just use this command
rundll32 powrprof.dll,SetSuspendState
in your task and it will go back to sleep
immediately after sending the email. You can toggle the suspend mode from sleep to hibernate (which you don't want) using
powercfg -h off
from an elevated command prompt.