Archives

Categories

Domoticz: restart with cron

script; cd /home/pi/domoticz/scripts/ sudo chmod +x restart_domoticz.sh —script————————————— !/bin/shsudo service domoticz.sh stopecho “please standby… (waiting 8 seconds)”sleep 8sudo service domoticz.sh start echo $(date) “DiskStation retrieve finished” >> /home/pi/logs/DOM_Servicces.txt log: cd /home/pi/logs sudo chmod +x DOM_Servicces.txt Job;cd /etc/cron.dsudo nano cronJob voeg Read more ›