This commit is contained in:
Michael Stanclift 2020-07-11 10:04:40 -05:00
parent 4eacab6fa7
commit 39aea0d602
4 changed files with 8 additions and 5 deletions

View File

@ -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
```

View File

@ -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

View File

@ -1 +1 @@
2.1.1
2.1.2

View File

@ -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