I'm trying to make my RPi reboot everyday at midnight. I set a crontab :
Code: Select all
0 0 * * * reboot
Thank you for your answers.
Code: Select all
0 0 * * * reboot
Code: Select all
crontab -e
You should be in the correct crontab but you can access the root crontab by typinglpl0an wrote:How do I know I'm on root crontab ? I'm root whan I type :Code: Select all
crontab -e
Code: Select all
sudo crontab -e
Code: Select all
sudo crontab -e
Code: Select all
0 0 * * * /sbin/reboot