mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
1-30
This commit is contained in:
parent
dd379e7ae5
commit
d7c6b62271
@ -14,6 +14,7 @@ There is nothing really sexy here, but a lot of changes under the covers to impr
|
|||||||
|
|
||||||
#### 1.8.3
|
#### 1.8.3
|
||||||
- Simplified method for input of automation frequency via crontab.
|
- Simplified method for input of automation frequency via crontab.
|
||||||
|
- Removes existing automation task from crontab, if it exists.
|
||||||
- Adds dev tag to version output.
|
- Adds dev tag to version output.
|
||||||
|
|
||||||
#### 1.8.2
|
#### 1.8.2
|
||||||
|
@ -1193,11 +1193,11 @@ function task_automate {
|
|||||||
# MESSAGE="12 = Every 05 Minutes"
|
# MESSAGE="12 = Every 05 Minutes"
|
||||||
# echo -e "++++++ ${MESSAGE}"
|
# echo -e "++++++ ${MESSAGE}"
|
||||||
|
|
||||||
MESSAGE="Sync Frequency in Minutes (60 max)"
|
MESSAGE="Sync Frequency in Minutes (1-30)"
|
||||||
echo_need
|
echo_need
|
||||||
read INPUT_AUTO_FREQ
|
read INPUT_AUTO_FREQ
|
||||||
|
|
||||||
if [ $INPUT_AUTO_FREQ -gt 60 ]
|
if [ $INPUT_AUTO_FREQ -gt 30 ]
|
||||||
# then
|
# then
|
||||||
# AUTO_FREQ='60'
|
# AUTO_FREQ='60'
|
||||||
# elif [ $INPUT_AUTO_FREQ == 2 ]
|
# elif [ $INPUT_AUTO_FREQ == 2 ]
|
||||||
@ -1216,6 +1216,10 @@ function task_automate {
|
|||||||
MESSAGE="Invalid Input"
|
MESSAGE="Invalid Input"
|
||||||
echo_fail
|
echo_fail
|
||||||
exit_nochange
|
exit_nochange
|
||||||
|
elif [ $INPUT_AUTO_FREQ -lt 1 ]
|
||||||
|
MESSAGE="Invalid Input"
|
||||||
|
echo_fail
|
||||||
|
exit_nochange
|
||||||
else
|
else
|
||||||
if [ CRON_EXIST == 1 ]
|
if [ CRON_EXIST == 1 ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user