"test sys_refresh_ref_cron.sh"
This commit is contained in:
parent
6e55bad1d6
commit
7c2f51cdad
@ -148,7 +148,15 @@ function get_cronjobs
|
|||||||
#~ fi
|
#~ fi
|
||||||
for CRONJOB in ${CRONJOBS}
|
for CRONJOB in ${CRONJOBS}
|
||||||
do
|
do
|
||||||
fct_message " - ${CRONJOB}"
|
COLOR="blanc"
|
||||||
|
MESSAGE=" - ${CRONJOB}"
|
||||||
|
if [[ "${CRONJOB}" =~ "*run-parts*" ]]; then
|
||||||
|
COLOR="cyan"
|
||||||
|
fi
|
||||||
|
if [[ "${CRONJOB}" =~ "*no crontab for*" ]]; then
|
||||||
|
COLOR="bleu"
|
||||||
|
fi
|
||||||
|
fct_message ${MESSAGE} -color ${COLOR}
|
||||||
done
|
done
|
||||||
IFS=${IFS_BAK}
|
IFS=${IFS_BAK}
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user