Information
I have the following crontab for the root user on Debian 10.
root@debian:~# crontab -l
# crontab comments curtailed for serverfault
#
# m h dom mon dow command
30 3 * * * shutdown -r now
If I run uptime
and who -b
I get the results of the last time I did a manual reboot (yesterday around 6pm).
root@debian:~# uptime
11:03:19 up 16:29, 1 user, load average: 0.00, 0.01, 0.00
root@debian:~# who -b
system boot 2020-12-26 18:34
I created the crontab around 7pm yesterday, so it was definitely in place prior to the target time.
Question
Is there a reason why this may not have worked? Can I debug this in any way?