Add ">~/shutwake.log 2>&1" on the end of the crontab line to create a file "/root/shutwake.log" with any messages in.there doesn't seem to be anything in Bookworm that puts cron errors in 'mail'
Code:
05 22 * * * /usr/local/sbin/shutwake.sh >~/shutwake.log 2>&1
Statistics: Posted by rpdom — Thu Dec 28, 2023 3:52 pm