@Fozi
@Fozi said in rpi3 freezes every few days .. need help:
@nagaculun Are you sure that the crontab is really executed? ssh into the RPI, execute ‘htop’ and check the uptime. The uptime should be the difference between the cronjob execution and the actual time.
For setting up the crontab, that reboots the RPi I needed priviledged rights.
$ sudo crontab -e
and then insert, e.g.
15 1,9,17 * * * sudo shutdown -r now >/dev/null 2>&1
This reboots the RPi at 01:15, 9:15 and 17:15 every day (every 8 hrs.).
Note the two ‘sudo’ for editing the crontab and initiating the shutdown.
Yes, as I literally wait and see when it happens.