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

I'd like to suspend or hibernate my RedHat 5 Linux system for a specific period of time. For example I'd like to suspend the system at 12:00 and wake it up at 15:00 remotely.

Is there any way to do this ?

share|improve this question

migrated from Nov 6 '12 at 0:31

This question came from our site for system and network administrators.

Is this a physical box, VM, VPS, other? – jscott Nov 6 '12 at 0:27

Most BIOSes have RTC Alarm functionality, which will wake the computer at a set time each day. The OS itself could then put the computer into sleep/hibernate/shutdown at a set time, via cron or other.

share|improve this answer

You can use a cron job to perform a system shutdown at your desired time.

To start your computer again, you can use your system BIOS RTC alarm, if you have one. This can be difficult to change, so it is best if you always start up again at the same time of day.

NVRAM-WakeUp is one of a couple tools that can change the BIOS startup time from within Linux, but each motherboard will react differently. YMMV

Wake on LAN is a good solution for on-demand startups, but requires access to another computer that can send Magic Packets to your NICs hardware address. This typically means a computer on the same physical network.

share|improve this answer

Another possibility would be to shutdown the system using cron or stuff, and to be woken up using WakeOnLan, if the prior mentioned RTC Alarm is not availible.

share|improve this answer
Is it possible to change the Wakeuptime (which I can set in the PCs BIOS) using a command line tool? – Bonsi Scott Nov 6 '12 at 6:19

Thanks all.

WakeOnLan works brilliantly in my Redhat Linux (IBM Lenovo) ! I used WakeOnLan client in my Windows XP machine.


share|improve this answer
Please expand your answer with brief overview of the software you're suggesting and tell why you consider it a good answer to the original question. – bytebuster Nov 7 '12 at 6:31

You must log in to answer this question.