"test sys_refresh_ref_cron.sh"

This commit is contained in:
Doug Le Tough 2017-07-24 13:36:53 +02:00
parent d97801944b
commit c46a461ee1
1 changed files with 2 additions and 2 deletions

View File

@ -150,10 +150,10 @@ function get_cronjobs
do
COLOR="blanc"
MESSAGE=" - ${CRONJOB}"
if [[ "${CRONJOB}" == "*run-parts*" ]]; then
if [[ "${CRONJOB}" =~ *run-parts* ]]; then
COLOR="cyan"
fi
if [[ "${CRONJOB}" == "*no crontab for*" ]]; then
if [[ "${CRONJOB}" =~ *no crontab for* ]]; then
COLOR="bleu"
fi
fct_message ${MESSAGE} -color ${COLOR}