Page 1 of 1

Automatic reboot Domoticz

Posted: Monday 14 October 2019 20:06
by Kouwe
I'm running Domoticz on a Raspberry 3 plus. That works fine, but I found out that after about a week the Domoticz application starts to run slow. I then do a reboot. Apparently the log is full or something like that. Now I actually want to automate this, but it probably takes me too much research to get it done myself. Does someone have a script or can someone make a script that automatically reboots the Raspberry twice a week around 3.00 a.m. at night?

Re: Automatic reboot Domoticz

Posted: Tuesday 15 October 2019 6:59
by Egregius
sudo crontab -e
0 3 * * 1,4 reboot

this will execute the command 'reboot' at 3:00 on Sunday and Wednesday.

Keep in mind that this kind of stuff is only a workaround. You should investigate why it becomes slow.