From 81ca2a1d24c304430a004c9a0815460b4067a3a0 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 5 Jun 2020 01:25:29 +0000 Subject: [PATCH] 'Bash/Pinger/Dual-IF-Ping.sh.example' updaten --- Bash/Pinger/Dual-IF-Ping.sh.example | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Bash/Pinger/Dual-IF-Ping.sh.example b/Bash/Pinger/Dual-IF-Ping.sh.example index a0b7e05..2b26fc3 100644 --- a/Bash/Pinger/Dual-IF-Ping.sh.example +++ b/Bash/Pinger/Dual-IF-Ping.sh.example @@ -1,5 +1,6 @@ #!/bin/bash +#Trigger form Cron # Set Parameters domoticzserverip='127.0.0.1:8080' if1='' @@ -92,8 +93,4 @@ curl -s "http://"$domoticzserverip"/json.htm?type=command¶m=switchlight&idx= else curl -s "http://"$domoticzserverip"/json.htm?type=command¶m=switchlight&idx="$IDX2"&switchcmd=Off" 2>/dev/null 1>/dev/null fi -fi - - -sleep 300 -done \ No newline at end of file +fi \ No newline at end of file