"test sys_refresh_ref_cron.sh"

master
Doug Le Tough 5 years ago
parent 2bf1f3ff97
commit e3b5cda288
  1. 4
      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

Loading…
Cancel
Save