"test sys_refresh_ref_cron.sh"
This commit is contained in:
parent
0184a0bb33
commit
6e55bad1d6
@ -140,7 +140,7 @@ function get_cronjobs
|
|||||||
fct_message " * ${TETALAB_USER}" -color orange
|
fct_message " * ${TETALAB_USER}" -color orange
|
||||||
IFS_BAK=${IFS}
|
IFS_BAK=${IFS}
|
||||||
IFS=$'\n'
|
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=$?
|
#~ RET_VAL=$?
|
||||||
#~ if [ ! ${RET_VAL} -eq 0 ]; then
|
#~ if [ ! ${RET_VAL} -eq 0 ]; then
|
||||||
#~ ERROR="Erreur lors de la récupération de la liste des jobs ${RET_VAL}"
|
#~ ERROR="Erreur lors de la récupération de la liste des jobs ${RET_VAL}"
|
||||||
|
Loading…
Reference in New Issue
Block a user