Is there any disadvantage to restart Domoticz service
Posted: Thursday 05 November 2020 13:24
Hi, sometimes I have had problem with domoticz, it hangs and don't respond. Normally that is no real problem I just restart it from the rpi.
But when I'm not at home it sometimes would be good to have some automatic fix!
I have created a cronjob that restart domoticz twice a day, is there any disadvantage with that?
But when I'm not at home it sometimes would be good to have some automatic fix!
I have created a cronjob that restart domoticz twice a day, is there any disadvantage with that?
Code: Select all
0 3,13 * * * bash /home/pi/domoticz/dz_restart.sh
Code: Select all
#! /bin/sh
sudo service domoticz.sh restart