mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Cronexist=0
This commit is contained in:
parent
e27a93905a
commit
5bb0a1012a
@ -1168,12 +1168,13 @@ function task_automate {
|
||||
|
||||
import_gs
|
||||
|
||||
CRON_EXIST='0'
|
||||
CRON_CHECK=$(crontab -l | grep -q "${GS_FILENAME}" && echo '1' || echo '0')
|
||||
if [ ${CRON_CHECK} == 1 ]
|
||||
then
|
||||
MESSAGE="Automation Task Already Exists"
|
||||
echo_info
|
||||
CRON_EXIST="1"
|
||||
CRON_EXIST='1'
|
||||
fi
|
||||
|
||||
MESSAGE="Sync Frequency in Minutes (0-30)"
|
||||
|
Loading…
Reference in New Issue
Block a user