Using rtcwake to Wake Your Computer from Sleep Automatically
Some of us keep our computers running 24/7. Perhaps you don’t want to do so, but you need to have your system up and running at a certain time every day, and you can’t guarantee that you will be able to be present to turn it on. It is possible to use rtcwake
to place the computer in sleep or suspend mode instead of turning it off and then wake up the computer later. To do this, you must have sudo
permissions. Here is an example:
matthew@seymour:~$ sudo rtcwake -m mem -s -3600
The command above tells the computer to suspend to RAM, or sleep, which means to save the current state of the computer in memory and shut everything else down, and then to wake the ...
Get Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.