X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Ffiles%2Fdsa-puppet-stuff.cron;fp=modules%2Fdebian-org%2Ffiles%2Fdsa-puppet-stuff.cron;h=97a23f5e748b4d9eb27e614d756506f3224dba60;hb=4af018c15db3d6aeb5aba0d6a83593679dbcbeb9;hp=555cdf556383f41191eb7597c0a30df45ed889a9;hpb=88725bd9a8cc93ef4d7ab97b5044e92e9610372f;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/files/dsa-puppet-stuff.cron b/modules/debian-org/files/dsa-puppet-stuff.cron index 555cdf556..97a23f5e7 100644 --- a/modules/debian-org/files/dsa-puppet-stuff.cron +++ b/modules/debian-org/files/dsa-puppet-stuff.cron @@ -1,3 +1,4 @@ SHELL=/bin/bash @hourly root [ ! -d /var/cache/dsa ] || touch /var/cache/dsa/cron.alive 34 */4 * * * root if [ -x /usr/sbin/puppetd ]; then sleep $(( $RANDOM \% 3600 )); if [ -x /usr/bin/timeout ]; then TO="timeout 3600"; else TO=""; fi; $TO /usr/sbin/puppetd -o --no-daemonize 2>&1 | grep -v 'v6: error fetching interface information: Device not found' ; fi +@daily root find /var/lib/puppet/clientbucket/ -type f -mtime +30 -atime +30 exec rm {} \;