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
fi
if [ -z "$(grep "$SCRIPT" /etc/crontab)" ]; then
if [ -z "$PASSWORD" ]; then
echo "Error: Password required"
show_help
exit 1
fi
enable_cron
if [ -z "$PASSWORD" ]; then
echo "Error: Password required"
show_help
exit 1
fi
enable_cron
if is_connected; then
DISABLE=true