I have set this cronjob because I want my server to be rebooted everyday at 05:00
# file: /etc/cron.d/reboot
* 5 * * * root reboot &> /dev/null
I think it worked the first time as I was kicked out of the ssh connection. But now I came back some days later and found this:
$ uptime
07:12:13 up 7 days
Does this mean that it hasn't rebooted in 7 days? What is wrong?
*
to a0
. – Dennis Kaarsemaker Nov 17 '12 at 11:54