X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/fe1a4b1ab1f289737bd9cf03374debba59c260b5..45977052c371d46988b00c89cda3813239c753e7:/files/etc/cron.d/sipb-xen-remctl-auto?ds=sidebyside diff --git a/files/etc/cron.d/sipb-xen-remctl-auto b/files/etc/cron.d/sipb-xen-remctl-auto index f29e9a6..78cc8a4 100644 --- a/files/etc/cron.d/sipb-xen-remctl-auto +++ b/files/etc/cron.d/sipb-xen-remctl-auto @@ -2,8 +2,9 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root +UPDATE=/usr/sbin/remctl-update.sh -@reboot root if [ -x /etc/remctl/sipb-xen-auto/remctl-update.sh ]; then nice -n10 /etc/remctl/sipb-xen-auto/remctl-update.sh all; fi -* * * * */15 root if [ -x /etc/remctl/sipb-xen-auto/remctl-update.sh ]; then nice -n10 /etc/remctl/sipb-xen-auto/remctl-update.sh all; fi +@reboot root if [ -x "$UPDATE" ]; then nice -n10 "$UPDATE" all; fi +* * * * */15 root if [ -x "$UPDATE" ]; then nice -n10 "$UPDATE" all; fi # EOF