"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

View File

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