Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2484

Raspberry Pi OS • Re: Setting Bookworm to shutdown and startup at fixed time using RTC

$
0
0
there doesn't seem to be anything in Bookworm that puts cron errors in 'mail'
Add ">~/shutwake.log 2>&1" on the end of the crontab line to create a file "/root/shutwake.log" with any messages in.

Code:

05 22 * * * /usr/local/sbin/shutwake.sh >~/shutwake.log 2>&1

Statistics: Posted by rpdom — Thu Dec 28, 2023 3:52 pm



Viewing all articles
Browse latest Browse all 2484

Trending Articles