0

I can not get my crontab to run a script that suspends my computer.

The script runs o.k. from a terminal.

~$ grep CRON /var/log/syslog 2024-09-22T05:15:01.538005-05:00 andy-To-be-filled-by-O-E-M CRON[23817]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) 2024-09-22T05:15:01.539793-05:00 andy-To-be-filled-by-O-E-M CRON[23818]: (andy) CMD (/home/andy/bin/Suspend.sh)

systemctl suspend
fixit7
  • 3,399

0 Answers0