From 39aea0d602d9025e60bab4bd56c154665b699550 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Sat, 11 Jul 2020 10:04:40 -0500 Subject: [PATCH] 2.1.2 --- ADVANCED.md | 4 ++-- CHANGELOG.md | 3 +++ VERSION | 2 +- gravity-sync.sh | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ADVANCED.md b/ADVANCED.md index edf8fab..0e46f01 100644 --- a/ADVANCED.md +++ b/ADVANCED.md @@ -14,8 +14,8 @@ Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync ```bash cd ~ -wget https://github.com/vmstan/gravity-sync/archive/v2.1.1.zip -unzip v2.1.1.zip -d gravity-sync +wget https://github.com/vmstan/gravity-sync/archive/v2.1.2.zip +unzip v2.1.2.zip -d gravity-sync cd gravity-sync ``` diff --git a/CHANGELOG.md b/CHANGELOG.md index aeaa724..2a10d90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,9 @@ The `./gravity-sync.sh update` and `version` functions will look for the `dbclie #### 2.1.1 - Last release was incorrectly published without logic to ignore `custom.list` if request or not used. +#### 2.1.2 +- Corrects a bug in `backup` automation that causes the backup to run every minute during the hour selected. + ## 2.0 ### The Smart Release diff --git a/VERSION b/VERSION index 7c32728..8f9174b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.1 \ No newline at end of file +2.1.2 \ No newline at end of file diff --git a/gravity-sync.sh b/gravity-sync.sh index 5e6d141..b0980ea 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -3,7 +3,7 @@ SCRIPT_START=$SECONDS # GRAVITY SYNC BY VMSTAN ##################### PROGRAM='Gravity Sync' -VERSION='2.1.1' +VERSION='2.1.2' # Execute from the home folder of the user who owns it (ex: 'cd ~/gravity-sync') # For documentation or downloading updates visit https://github.com/vmstan/gravity-sync @@ -1567,7 +1567,7 @@ function task_automate { else MESSAGE="Saving New Backup Automation" echo_stat - (crontab -l 2>/dev/null; echo "* ${INPUT_AUTO_BACKUP} * * * ${BASH_PATH} $HOME/${LOCAL_FOLDR}/${GS_FILENAME} backup >/dev/null 2>&1") | crontab - + (crontab -l 2>/dev/null; echo "0 ${INPUT_AUTO_BACKUP} * * * ${BASH_PATH} $HOME/${LOCAL_FOLDR}/${GS_FILENAME} backup >/dev/null 2>&1") | crontab - error_validate fi