Posted By

matpolster on 02/16/10


ubuntu wake suspend

Versions (?)

wake up script for ubuntu

 / Published in: Bash


I didn't write this see the url for more info

  1. #!/bin/sh
  2. # Super cheesy script to wake my computer every day
  3. echo 0 > /sys/class/rtc/rtc0/wakealarm
  4. echo `date '+%s' -d '+ 480 minutes'` > /sys/class/rtc/rtc0/wakealarm
  5. cat /sys/class/rtc/rtc0/wakealarm > /var/log/last_known_wakeup_time

Report this snippet  

You need to login to post a comment.