X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/fe1a4b1ab1f289737bd9cf03374debba59c260b5..2d04331dbadf3070802a804b16a35222e928e00e:/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