From 3179d315126ebb2c8cbd526d351310934d03dec2 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Mon, 22 Jun 2020 10:14:01 -0500 Subject: [PATCH] sed --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 2e52d39..c02f848 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -1227,7 +1227,7 @@ function task_automate { echo_stat crontab -l >$CRON_TEMP - awk '$0!~/pull/ { print $0 }' $CRON_TEMP >$CRON_NEW + sed '/pull/d' $CRON_TEMP >$CRON_NEW crontab $CRON_NEW 2>/dev/null error_validate fi