Always setup new cron task
This commit is contained in:
parent
ae04b18a1d
commit
95164589cc
@ -138,14 +138,12 @@ if [ -n "$FAILOVER" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$(grep "$SCRIPT" /etc/crontab)" ]; then
|
if [ -z "$PASSWORD" ]; then
|
||||||
if [ -z "$PASSWORD" ]; then
|
echo "Error: Password required"
|
||||||
echo "Error: Password required"
|
show_help
|
||||||
show_help
|
exit 1
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
enable_cron
|
|
||||||
fi
|
fi
|
||||||
|
enable_cron
|
||||||
|
|
||||||
if is_connected; then
|
if is_connected; then
|
||||||
DISABLE=true
|
DISABLE=true
|
||||||
|
Loading…
Reference in New Issue
Block a user