Wake up your computer using rtcwake

GNU/Linux

If we want to "wake up" the computer at a certain moment, we can use the rtcwake command. rtcwake hibernates or suspends the system and to automatically wake from it at a specified time, for example:

To hibernate your system for for 2 hours and then wake up automatically, run

# rtcwake -s 7200 -m disk

where:

  • -s 7200: It is the time in seconds that the system will be hibernating, then it "wakes up"
  • -m disk: In this mode memory content is written to the disk

Further reading

  • - man rtcwake
The tutorials here on LibreByte are provided under a free software licence. if you like my work you should consider:
Buy a Hosting/VPS or Dedicated Server at MCKHost

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.