Browse Source

"test sys_refresh_ref_cron.sh"

master
Doug Le Tough 5 years ago
parent
commit
ec061c45aa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/sys_refresh_ref_cron.sh

+ 1
- 1
bin/sys_refresh_ref_cron.sh View File

@ -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…
Cancel
Save