[Linux]#6 Auto rebooting

Clay Ryu's sound lab·2024년 8월 2일
0

Framework

목록 보기
46/49

using rtcwake

To properly shutdown the system and schedule a wake-up, you should use the rtcwake command with the -m off mode. This mode puts the system into a complete shutdown state, ensuring that it will wake up at the specified time without unexpected power-offs.

sudo rtcwake -m off -t $(date +%s -d "+16 hours")
sudo shutdown now
profile
chords & code // harmony with structure

0개의 댓글