This commit is contained in:
leo 2024-08-08 07:18:46 +05:00
parent 45187f7385
commit aed8c3c3e9

View File

@ -14,7 +14,7 @@ if [ ! -f $CRON_LIST ]; then
fi fi
echo "Reading current crontab jobs into a variable..." echo "Reading current crontab jobs into a variable..."
current_crontab=$(crontab -l 2>/dev/null) current_crontab=$(crontab -l 2>/dev/null || :)
echo "Iterate through the lines of the cron.list file..." echo "Iterate through the lines of the cron.list file..."
while IFS= read -r line; do while IFS= read -r line; do