thanks tgalati4 that is really helpful.
if i changed the string
30 11 * * * root /root/wakemeup.sh
would it run the script at 7.05am?
05 07 * * * root /root/wakemeup.sh
also, i replaced the time in
from 480, to 1170, meaning 19.5 hours from when the script runs at 11.30am, so that the computer wakes up at 7am, correct?
# Super cheesy script to wake my computer every day
echo 0 > /sys/class/rtc/rtc0/wakealarm
echo `date '+%s' -d '+ 480 minutes'` > /sys/class/rtc/rtc0/wakealarm
cat /sys/class/rtc/rtc0/wakealarm > /var/log/last_known_wakeup_time