"test sys_refresh_ref_cron.sh"

This commit is contained in:
Doug Le Tough 2017-07-24 13:24:34 +02:00
parent 0184a0bb33
commit 6e55bad1d6

View File

@ -140,7 +140,7 @@ function get_cronjobs
fct_message " * ${TETALAB_USER}" -color orange
IFS_BAK=${IFS}
IFS=$'\n'
CRONJOBS=$(ssh ${VM} "sudo crontab -u ${TETALAB_USER} -l 2>&1 | grep -v '^\#' | grep -v '^$' | grep -vP '^ +$' | grep -v '/usr/bin/run-parts'")
CRONJOBS=$(ssh ${VM} "sudo crontab -u ${TETALAB_USER} -l 2>&1 | grep -v '^\#' | grep -v '^$' | grep -vP '^ +$'")
#~ RET_VAL=$?
#~ if [ ! ${RET_VAL} -eq 0 ]; then
#~ ERROR="Erreur lors de la récupération de la liste des jobs ${RET_VAL}"