From: Peter Palfrader Date: Sat, 25 Feb 2012 12:29:50 +0000 (+0100) Subject: Fix shell in cronjob X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=c427f83992f5d9848891a15f6f3d92194f87d1d1;p=mirror%2Fdsa-nagios.git Fix shell in cronjob --- diff --git a/dsa-nagios-checks/debian/cron.d b/dsa-nagios-checks/debian/cron.d index 54fda57..bb314ae 100644 --- a/dsa-nagios-checks/debian/cron.d +++ b/dsa-nagios-checks/debian/cron.d @@ -4,6 +4,6 @@ @hourly root [ -x /usr/sbin/dsa-update-apt-status ] && /usr/sbin/dsa-update-apt-status 13 */4 * * * root [ -x /usr/sbin/dsa-update-samhain-status ] && /usr/sbin/dsa-update-samhain-status -SHELL=bash +SHELL=/bin/bash 4 12 25 * * root [ -x /usr/sbin/dsa-update-unowned-file-status ] && sleep $(( $RANDOM \% 86400 )) && /usr/sbin/dsa-update-unowned-file-status # vim:ft=crontab: