"test sys_refresh_ref_cron.sh"

This commit is contained in:
Doug Le Tough 2017-07-24 12:59:43 +02:00
parent 2bf1f3ff97
commit e3b5cda288

View File

@ -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