"test sys_refresh_ref_cron.sh"
This commit is contained in:
parent
adac492728
commit
8a86c3cb36
@ -151,9 +151,9 @@ function get_cronjobs
|
||||
COLOR="blanc"
|
||||
MESSAGE=" - ${CRONJOB}"
|
||||
if [ $(echo "${CRONJOB}" | grep "run-parts" | wc -l) -eq 1 ]; then
|
||||
COLOR="cyan"
|
||||
COLOR="vert"
|
||||
elif [ $(echo "${CRONJOB}" | grep "no crontab for" | wc -l) -eq 1 ]; then
|
||||
COLOR="bleu"
|
||||
COLOR="cyan"
|
||||
fi
|
||||
fct_message ${MESSAGE} -color ${COLOR}
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user