Plug a keyboard into the Raspberry and press the "Ctrl+Alt+T" keys and type the following command "sudo crontab -e".




Press the "A" key and at the bottom the word "-- INSERT -- should appear"



Enter the command: "0 8 * * * /sbin/reboot" (0 = minutes 8 = time)



Press the "Esc" key and then type the command: ":x!" and press "Enter".



Type the command: "sudo /etc/init.d/cron restart" and press "Enter"



Ready. Your machine is set to restart every day at 8 a.m.



To check procedures related to Raspberry Click Here.