From e3b5cda288282b5eb622c5b3f50fcf2f29d205ab Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Mon, 24 Jul 2017 12:59:43 +0200 Subject: [PATCH] "test sys_refresh_ref_cron.sh" --- bin/sys_refresh_ref_cron.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sys_refresh_ref_cron.sh b/bin/sys_refresh_ref_cron.sh index e55e6a0..abe2153 100755 --- a/bin/sys_refresh_ref_cron.sh +++ b/bin/sys_refresh_ref_cron.sh @@ -140,9 +140,9 @@ function get_cronjobs fct_message " * ${TETALAB_USER}" -color orange IFS_BAK=${IFS} IFS=$'\n' - for CRON in $(ssh ${VM} "sudo crontab -u ${TETALAB_USER} -l | grep -v ^\# | grep -v ^$ | grep -v '/usr/bin/run-parts'") + for CRON in $(ssh ${VM} "sudo crontab -u ${TETALAB_USER} -l | grep -v ^\# | grep -v ^$ | grep -v '/usr/bin/run-parts' | grep -v 'no crontab for'") do - echo ${CRON} + fct_message " - ${CRON}" done IFS=${IFS_BAK} done