Is it possible to cause Ubuntu to resume from standby or sleep mode to run a scheduled task like at
job/crontab? (hibernation seems to be ruled out in another question)
Can a script be written that:
- standby (to cycle power to devices with buggy drivers, for example)
- sleeps N seconds
- wakes up and continues. (restarts network-manager if necessary)
This is not a "Wake-on-LAN" problem. The event is purely internal and connected via wifi only anyway.
sudo bash -c "echo $(date '+%s' -d 'tomorrow 6am') > /sys/class/rtc/rtc0/wakealarm"
, but your link lead to great info too. – Marcos May 01 '12 at 15:30