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?
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?
Following link already has your answer: Automatically sleep and wake-up at specific times
Also, you can check more about rtcwake
using following:
Press, Ctrl+Alt+T.
Type in, $ man rtcwake
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")
.