"test sys_refresh_ref_cron.sh"
This commit is contained in:
parent
2bf1f3ff97
commit
e3b5cda288
@ -140,9 +140,9 @@ 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'
|
||||||
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
|
do
|
||||||
echo ${CRON}
|
fct_message " - ${CRON}"
|
||||||
done
|
done
|
||||||
IFS=${IFS_BAK}
|
IFS=${IFS_BAK}
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user