From 459c714f2d9dffa2e8cf34aff5f2af449f1c2106 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Mon, 22 Jun 2020 10:33:24 -0500 Subject: [PATCH] nevermind --- gravity-sync.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 609cb2f..8465b45 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -1188,17 +1188,17 @@ function task_automate { exit_nochange elif [ $INPUT_AUTO_FREQ -lt 1 ] then - #if [ $CRON_EXIST == 1 ] - #then + if [ $CRON_EXIST == 1 ] + then clear_cron MESSAGE="Automation Disabled" echo_info - #else - # MESSAGE="No Automation Scheduled" - # echo_info - # exit_nochange - #fi + else + MESSAGE="No Automation Scheduled" + echo_info + exit_nochange + fi else if [ $CRON_EXIST == 1 ] then