mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
dont prompt about setting cron job if already done
This commit is contained in:
@@ -1530,9 +1530,13 @@ a45be3e69decf6def/raw/1aeff0d78f85e86b868a4ba83ebce99e90532f48/findardop ||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
echo ardoptools >> /tmp/cleanup
|
||||
|
||||
if crontab -l 2>/dev/null | grep -q "/usr/local/bin/getardoplist" \
|
||||
&& crontab -l 2>/dev/null | grep -q "/usr/local/bin/getvaralist"; then
|
||||
echo "cron jobs are scheduled."
|
||||
else
|
||||
echo "One or both cron jobs are missing."
|
||||
echo ardoptools >> /tmp/cleanup
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user