projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8425ebd
)
Spread out unowned files check in time
author
Peter Palfrader
<peter@palfrader.org>
Fri, 24 Feb 2012 17:10:56 +0000
(18:10 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 24 Feb 2012 17:10:56 +0000
(18:10 +0100)
dsa-nagios-checks/debian/cron.d
patch
|
blob
|
history
diff --git
a/dsa-nagios-checks/debian/cron.d
b/dsa-nagios-checks/debian/cron.d
index
4e897b4
..
d05e0fd
100644
(file)
--- 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: