thanks tgalati4 that is really helpful.
if i changed the string
Code:
30 11 * * * root /root/wakemeup.sh
to
Code:
05 07 * * * root /root/wakemeup.sh
would it run the script at 7.05am?
also, i replaced the time in
Code:
#!/bin/sh
# 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
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?
thanks again!
Bookmarks