From 3776467e59bdc39a14cb2c7633f8a4bbd1b73fe1 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 28 May 2020 11:36:55 -0500 Subject: [PATCH] Fix crontab full path --- gravity-sync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 9a9314d..1017db6 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -496,7 +496,7 @@ function config_generate { MESSAGE="Registering Key-Pair on ${REMOTE_HOST}" echo -e "${INFO} ${MESSAGE}" - MESSAGE="Enter ${REMOTE_USER}@${REMOTE_HOST} Password" + MESSAGE="Enter ${REMOTE_USER}@${REMOTE_HOST} Password Below" echo -e "${NEED} ${MESSAGE}" echo -e "========================================================" @@ -648,7 +648,7 @@ function task_automate { MESSAGE="Saving to Crontab" echo -en "${STAT} ${MESSAGE}" - (crontab -l 2>/dev/null; echo "*/${AUTO_FREQ} * * * * ${BASH_PATH} $HOME/${LOCAL_FOLDR}/$0 pull > ${LOG_PATH}/${CRONJOB_LOG}") | crontab - + (crontab -l 2>/dev/null; echo "*/${AUTO_FREQ} * * * * ${BASH_PATH} $0 pull > ${LOG_PATH}/${CRONJOB_LOG}") | crontab - error_validate MESSAGE="${PROGRAM} Execution Automated"