Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How to use the rtcwake command

Writer Matthew Barrera

I would like to get my rtcwake command to wake my computer from sleep at 06:00 the following day.

Here is the command I'm using:

rtcwake -m mem -u -t $(date +\%s -d "tomorrow 06:00")

So far it isn't waking. Any ideas?

7

2 Answers

Following link already has your answer:Automatically sleep and wake-up at specific times

Also, you can check more about rtcwake using following:

  1. Press, Ctrl+Alt+T.

  2. Type in, $ man rtcwake

1

I dont know why but in order for rtcwake to work inside of cronjob, you must run sudo crontab -e and then pastesudo rtcwake -m mem -u -t $(date +\%s -d "tomorrow 06:00").

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy