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