This commit is contained in:
Michael Stanclift 2020-06-22 10:10:24 -05:00
parent dd379e7ae5
commit d7c6b62271
2 changed files with 7 additions and 2 deletions

View File

@ -14,6 +14,7 @@ There is nothing really sexy here, but a lot of changes under the covers to impr
#### 1.8.3
- Simplified method for input of automation frequency via crontab.
- Removes existing automation task from crontab, if it exists.
- Adds dev tag to version output.
#### 1.8.2

View File

@ -1193,11 +1193,11 @@ function task_automate {
# MESSAGE="12 = Every 05 Minutes"
# echo -e "++++++ ${MESSAGE}"
MESSAGE="Sync Frequency in Minutes (60 max)"
MESSAGE="Sync Frequency in Minutes (1-30)"
echo_need
read INPUT_AUTO_FREQ
if [ $INPUT_AUTO_FREQ -gt 60 ]
if [ $INPUT_AUTO_FREQ -gt 30 ]
# then
# AUTO_FREQ='60'
# elif [ $INPUT_AUTO_FREQ == 2 ]
@ -1216,6 +1216,10 @@ function task_automate {
MESSAGE="Invalid Input"
echo_fail
exit_nochange
elif [ $INPUT_AUTO_FREQ -lt 1 ]
MESSAGE="Invalid Input"
echo_fail
exit_nochange
else
if [ CRON_EXIST == 1 ]
then