From dcb02f84b16c059a50269005137e2206d982e0eb Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 28 May 2020 12:55:59 -0500 Subject: [PATCH] 1.5.0 --- README.md | 2 ++ gravity-sync.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f29dff5..17afc53 100644 --- a/README.md +++ b/README.md @@ -209,6 +209,8 @@ If you'd like to see the log of what was run the last crontab, you can view that ./gravity-sync.sh cron ``` +Keep in mind if your cron task has never run, you will not see any valid output from this command. + ## Troubleshooting If you are just straight up unable to run the `gravity-sync.sh` file, make sure it's marked as an executable by Linux. diff --git a/gravity-sync.sh b/gravity-sync.sh index 9f2c8f7..e6c8730 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -297,7 +297,7 @@ function show_crontab { fi else echo -e "\r${FAIL} ${MESSAGE}" - echo -e "${INFO} ${LOG_PATH}/${CRONJOB_LOG} cannot be located" + echo -e "${INFO} ${LOG_PATH}/${CRONJOB_LOG} not yet created" exit_nochange fi }