From 067fb4e2b1874295ea778e3c48c15c96f56adfbd Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Tue, 21 Jul 2009 09:49:27 +0100 Subject: [PATCH] sleep $(( $RANDOM % 3600 )) Signed-off-by: Stephen Gran --- files/etc/cron.d/dsa-puppet-stuff | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/etc/cron.d/dsa-puppet-stuff b/files/etc/cron.d/dsa-puppet-stuff index 4ddc565ae..be16af117 100644 --- a/files/etc/cron.d/dsa-puppet-stuff +++ b/files/etc/cron.d/dsa-puppet-stuff @@ -1,2 +1,3 @@ +SHELL=/bin/bash @hourly root [ ! -d /var/cache/dsa ] || touch /var/cache/dsa/cron.alive -34 */4 * * * root [ ! -x /usr/sbin/puppet ] || /usr/sbin/puppet -w 5 --factsync -t +34 */4 * * * root [ ! -x /usr/sbin/puppet ] || ( sleep $(( $RANDOM % 3600 )) && /usr/sbin/puppet -w 5 --factsync -t ) -- 2.20.1