Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can a Ubuntu (or any other distro) wake up from standby/hibernate at a preset time?

I actually don't want the PC to consume 200W all the time for just doing something every hour.

share|improve this question
up vote 2 down vote accepted

rtcwake is a standard Linux command that enters a standby or sleep state until the specified time. It depends on BIOS support; most current PCs do support it. You can specify either a sleep duration (in seconds) or a wake up date (in seconds since the epoch, as produced by date +%s).

rtcwake -s 3600
rtcwake -t $(date +%s 'now + 1 hour')
share|improve this answer
    
I tried on my compaq and it never even went to speed after the command. My Asus/AMD desktop did go to sleep instantly using " -s 60" but never woke up. – thevikas Dec 4 '10 at 5:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .