Hello, last days my wife complains that my miniPC with DietpiOS generate too much noise in the night. Is there an easy way to make it sleep and wake up in the morning?
I find that way rtcwake -m mem -s ......
(seconds).
It’s OK?
Regards.
Just give it a try. DietPi is a Debian operating system. Therefore thinks should work same way.
Some other option https://www.baeldung.com/linux/auto-suspend-wake
1 Like
Thanks. I will try that.
Regards.
Do You think is OK like that?:
dietpi@dietpi-laptop:~$ crontab -e
0 1 * * * sudo rtcwake -m no -l -t "$(date -d 'today 06:00:00' '+%s')"
I want to set to sleep everyday at 1:00 and wake up at 6:00.
just give it a try. It might be needed to use full path for rtcwake
tool and probably better to use root
user crontab.
1 Like