From: Stephen Gran Date: Tue, 21 Jul 2009 08:49:27 +0000 (+0100) Subject: sleep $(( $RANDOM % 3600 )) X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=067fb4e2b1874295ea778e3c48c15c96f56adfbd;p=mirror%2Fdsa-puppet.git sleep $(( $RANDOM % 3600 )) Signed-off-by: Stephen Gran --- 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 )