I'm trying to make my RPi reboot everyday at midnight. I set a crontab :
Code: Select all
0 0 * * * rebootThank you for your answers.
Code: Select all
0 0 * * * rebootCode: Select all
crontab -eYou 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 -eCode: Select all
sudo crontab -eCode: Select all
0 0 * * * /sbin/reboot