Auto suspend and wake up script
Puts the computer on suspend and automatically wakes it up at specified time, running a custom script. Requires rtcwake from util-linux package. Must be run as root (rtcwake requires it).
Takes a 24hour time HH:MM and (optional) script path as arguments.
Example:
wake_up 9:30
wake_up 18:45 beepbeepbeep.sh
- GPL v2
- rooster.wav by Mike Koenig (CC BY 3.0)