"test sys_refresh_ref_cron.sh"
This commit is contained in:
parent
c46a461ee1
commit
87059a0a59
@ -150,12 +150,20 @@ function get_cronjobs
|
|||||||
do
|
do
|
||||||
COLOR="blanc"
|
COLOR="blanc"
|
||||||
MESSAGE=" - ${CRONJOB}"
|
MESSAGE=" - ${CRONJOB}"
|
||||||
if [[ "${CRONJOB}" =~ *run-parts* ]]; then
|
case ${CRONJOB} in
|
||||||
|
"*run-parts*")
|
||||||
COLOR="cyan"
|
COLOR="cyan"
|
||||||
fi
|
;;
|
||||||
if [[ "${CRONJOB}" =~ *no crontab for* ]]; then
|
"*no crontab for*")
|
||||||
COLOR="bleu"
|
COLOR="bleu"
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
#~ if [[ "${CRONJOB}" =~ *run-parts* ]]; then
|
||||||
|
#~ COLOR="cyan"
|
||||||
|
#~ fi
|
||||||
|
#~ if [[ "${CRONJOB}" =~ *no crontab for* ]]; then
|
||||||
|
#~ COLOR="bleu"
|
||||||
|
#~ fi
|
||||||
fct_message ${MESSAGE} -color ${COLOR}
|
fct_message ${MESSAGE} -color ${COLOR}
|
||||||
done
|
done
|
||||||
IFS=${IFS_BAK}
|
IFS=${IFS_BAK}
|
||||||
|
Loading…
Reference in New Issue
Block a user