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

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
Thanks! I'll give that a try during tonight's troubleshooting.

As a note to other people. Bookworm apparently uses something called

Code:

journalctl
now for logs. I'm still working on how to grep from it as it doesn't function like the text logs I'm used to.

Statistics: Posted by Baenwort — Fri Dec 29, 2023 2:07 am



Viewing all articles
Browse latest Browse all 5488

Trending Articles