"test sys_refresh_ref_cron.sh"
This commit is contained in:
parent
113f060b11
commit
ec061c45aa
@ -140,7 +140,7 @@ function get_cronjobs
|
||||
fct_message " * ${TETALAB_USER}" -color orange
|
||||
IFS_BAK=${IFS}
|
||||
IFS=$'\n'
|
||||
CRONJOBS=$(ssh ${VM} "crontab -u ${TETALAB_USER} -l | grep -v '^\#' | grep -v '^$' | grep -vP '^ +$' | grep -v '/usr/bin/run-parts'")
|
||||
CRONJOBS=$(ssh ${VM} "sudo crontab -u ${TETALAB_USER} -l | grep -v '^\#' | grep -v '^$' | grep -vP '^ +$' | grep -v '/usr/bin/run-parts'")
|
||||
RET_VAL=$?
|
||||
if [ ! ${RET_VAL} -eq 0 ]; then
|
||||
ERROR="Erreur lors de la récupération de la liste des jobs"
|
||||
|
Loading…
Reference in New Issue
Block a user