Always setup new cron task

This commit is contained in:
Zakary Timson 2024-07-27 20:16:47 +00:00
parent ae04b18a1d
commit 95164589cc

View File

@ -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