For some reason, my root crontab does not seem to be running.
Trying to reboot the device every night at midnight.
Should be the following as root:
0 0 * * * /sbin/shutdown -r now
When I test using some values close current time, nothing happens. I installed NTP and made sure the time zone is correct. I am also specifying using the 24-hour clock. For example, to test this line right now (5:35 PM) I try entering the following:
36 17 * * * /sbin/shutdown -r now
I have checked the time with date -R. The time for the crontab to run comes and goes and the system does not reboot. What am I missing here?
sudo crontab -l | grep -v '#'?