diff --git a/CHANGELOG.md b/CHANGELOG.md index 6727f96..38b17af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.x.x - xx/xx/2017 +## 0.3.0 - xx/xx/2017 Add command "open_in" for scheduling on the fly the opens/close a solenoid Add command "del_cron_open_in" for delete scheduling the fly the opens/close a solenoid Add api in socket server for command open_in and delete_cron_open_in diff --git a/piGarden.sh b/piGarden.sh index b2b73d9..36d81bb 100755 --- a/piGarden.sh +++ b/piGarden.sh @@ -648,7 +648,7 @@ function cron_del { fi - $SED "$START,${END}d" "$TMP_CRON_FILE" | $CRONTAB - + $SED "$START,${END}d" "$TMP_CRON_FILE" | $SED '$!N; /^\(.*\)\n\1$/!P; D' | $CRONTAB - #$CRONTAB "$TMP_CRON_FILE" rm "$TMP_CRON_FILE" @@ -1161,7 +1161,7 @@ function socket_server_command { json_error 0 "Alias solenoid not specified" else ev_open $arg2 $arg3 &> /dev/null - json_status + json_status "get_cron_open_in" fi ;; @@ -1175,7 +1175,7 @@ function socket_server_command { json_error 0 "Alias solenoid not specified" else ev_close $arg2 &> /dev/null - json_status + json_status "get_cron_open_in" fi ;; @@ -1318,8 +1318,8 @@ function debug2 { } VERSION=0 -SUB_VERSION=2 -RELEASE_VERSION=3 +SUB_VERSION=3 +RELEASE_VERSION=0 DIR_SCRIPT=`dirname $0` NAME_SCRIPT=${0##*/}