First pass at crontab addition

This commit is contained in:
Michael Stanclift 2020-05-28 10:19:50 -05:00
parent 4f08472a6c
commit c7335ba632
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ The designation of primary and secondary is purely at your discretion and depend
Additionally, some things to consider:
- Gravity Sync has been tested with Ubuntu and Rasbian. It will likely work on other distros but they have not been tested. Please let me know if you have any issues.
- Gravity Sync is regularly tested during development with Ubuntu and Raspberry Pi OS (previously, Raspbian). As Gravity Sync is just an (admittedly) long bash script, it will likely work on other Linux distributions that have the `bash` shell installed. But please file an Issue if you're unable to run it on another platform.
- Gravity Sync has not been tested with Docker container deployments of Pi-hole, and is not expected to work there without major modifications. You will need Pi-hole setup with a "traditional" install directly in the base operating system.
## Installation
@ -41,7 +41,6 @@ So a life on the wildside of file sync isn't for you? That's fine.
Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync/releases) and extract the files to your *secondary* PH server.
```
cd ~
wget https://github.com/vmstan/gravity-sync/archive/v1.4.4.zip

View File

@ -595,8 +595,9 @@ function task_automate {
import_gs
(crontab -l 2>/dev/null; echo "*/30 * * * * /bin/bash $HOME/${LOCAL_FOLDR}/gravity-sync.sh pull > ${LOG_PATH}/${CRONJOB_LOG} -with args") | crontab -
exit_withchange
}
# SCRIPT EXECUTION ###########################