From 2e9d9a03f33cb8aea8d15465def4122e76cc02bd Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 24 Feb 2012 18:10:56 +0100 Subject: [PATCH] Spread out unowned files check in time --- dsa-nagios-checks/debian/cron.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dsa-nagios-checks/debian/cron.d b/dsa-nagios-checks/debian/cron.d index 4e897b4..d05e0fd 100644 --- a/dsa-nagios-checks/debian/cron.d +++ b/dsa-nagios-checks/debian/cron.d @@ -4,5 +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 -4 4 1 * * root [ -x /usr/sbin/dsa-update-unowned-file-status ] && /usr/sbin/dsa-update-unowned-file-status +SHELL=bash +4 4 1 * * root [ -x /usr/sbin/dsa-update-unowned-file-status ] && sleep $(( $RANDOM %% 86400 )) && /usr/sbin/dsa-update-unowned-file-status # vim:ft=crontab: -- 2.20.1