Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4801

Raspberry Pi OS • Re: Reboot using crontab

$
0
0
When I first tried to run a reboot command from cron, it was by typing my reboot command in the cron file that I use to run a program at 10pm each night. I enter this file using:

Code:

crontab -e
It did not work.
After the help provided above, I entered cron using:

Code:

sudo crontab -e
and it works perfectly. To be honest, I did not realise that there would be more than 1 cron file.
I am happy now - it works.
Thank you

Statistics: Posted by RDS — Fri Mar 08, 2024 8:49 pm



Viewing all articles
Browse latest Browse all 4801

Trending Articles