"test sys_refresh_ref_cron.sh"

This commit is contained in:
Doug Le Tough 2017-07-25 12:25:07 +02:00
parent a0a0e2ae30
commit 6bbf7aec53

View File

@ -167,6 +167,7 @@ function refresh_cronjobs
COLOR="vert" COLOR="vert"
elif [ $(echo "${CRONJOB}" | grep "no crontab for" | wc -l) -eq 1 ]; then elif [ $(echo "${CRONJOB}" | grep "no crontab for" | wc -l) -eq 1 ]; then
COLOR="cyan" COLOR="cyan"
CRONJOB=""
fi fi
fct_message ${MESSAGE} -color ${COLOR} fct_message ${MESSAGE} -color ${COLOR}
if [ ${#CRONJOB} -gt 0 ]; then if [ ${#CRONJOB} -gt 0 ]; then