Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

On Mac machines the user can schedule the machine to power-on automatically, is there anything for Linux that gives us the same ability? I can schedule shut downs whenever I want, it's powering up that I want to do.

share|improve this question
up vote 4 down vote accepted

Assuming that your hardware supports it, you should be able to set the alarm from within linux by writing to /sys/class/rtc/rtc0/wakealarm or /proc/acpi/alarm. More info here and here, respectively. Note that this facility may become available with a BIOS update.

It may also be possible for this option to be available even if the BIOS interface doesn't allow it to be set. My laptop has a bare-bones BIOS interface, but although I haven't tried to wake it via the alarm, it looks like it's possible. This is based on the fact that one of the /var/log/kern.log* files contains the text RTC can wake from S4, and from the presence of the (empty) pseudo-file /sys/class/rtc/rtc0/wakealarm. More on that at the same page linked to by the above links.

share|improve this answer

It's not about OS, it's about the hardware.

Some BIOSes have a "wake on RTC alarm" option. Assuming that your bootloader doesn't want for user input forever, your OS shall boot as soon as BIOS powers on the computer at certain time.

share|improve this answer
I thought it might be so. It's a pity I can't access that from the OS, makes it a bit tedious setting it if I have to restart first. – stib Jun 5 '10 at 14:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.