Page 1 of 1

Is there any disadvantage to restart Domoticz service

Posted: Thursday 05 November 2020 13:24
by leby
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?

Code: Select all

0 3,13 * * * bash /home/pi/domoticz/dz_restart.sh

Code: Select all

#! /bin/sh
sudo service domoticz.sh restart

Re: Is there any disadvantage to restart Domoticz service

Posted: Thursday 05 November 2020 13:41
by xury
I don't think so except losing some uncollected data during needed time to restart.
But better way to use API as a watchdog.