Configuring Scheduled Reboot

Created by Michael Lister, Modified on Mon, 9 Dec, 2024 at 10:24 AM by Michael Lister

This guide will show how to setup a automatic reboot on Raspberry Pi running Raspbian


1. Open Terminal

2. Type:

sudo nano /etc/crontab

3. This will show a text editor within the terminal to add additional lines

Use the down arrow key to go to the bottom


4. Insert a line below the "#"


5. Type:

0  0     * * *   root    reboot

The second number is the hour you would like the action to perform

e.g. the example above will restart at midnight


6. Press CTRL + X


7. Press Y to save changes


8. Press ENTER to apply

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article