Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

Usually BIOSes have an option to schedule a time to which to boot at. Is there a Unix/Linux interface to specify the scheduled boot?

share|improve this question
up vote 12 down vote accepted

NVRAM WakeUp claims to do it; I've never tried. It may not work on all BIOSes, and if it fails a likely consequence is to overwrite a different critical setting that could make your computer unbootable, so use with caution.

If you only suspend the computer, APM tools can set a wake-up time with apmsleep. I've successfully used my laptop as an alarm clock with this tool. But it can't wake up a powered off computer.

If your computer supports ACPI (all modern ones do), and if ACPI actually works on your OS (that, on the other hand, is not a given), there is a standard interface for specifying a wake-up time. Under Linux, date -u +%s -d 'tomorrow 6:00' >/sys/class/rtc/rtc0/wakealarm should do the trick. There is a good guide on ACPI wakeup on the MythTV wiki.

If you have another powered-on device on the local network, you can send your computer a wake-on-LAN packet. Most modern BIOSes support this (you may need to be enable it in the BIOS settings). The wakeonlan utility can send such packets.

share|improve this answer

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.