I am using Ubuntu precise. Is there a way to have scheduled cron jobs run even when Ubuntu is suspended? Perhaps some way to automatically wake up the system so a scheduled cron job can proceed and then put it back in suspension?
|
|
Menelae, the tool you are looking for is called rtcwake. It allows you to suspend your system and specify a specific wake up time. You can set up a few cronjobs, one to put the machine to sleep using rtwake to turn it on again in time for the second cron. I found a nice example here:
|
||||
|
|