From 4af018c15db3d6aeb5aba0d6a83593679dbcbeb9 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Wed, 23 Mar 2011 16:07:48 +0000 Subject: [PATCH] clean up filebucket, hopefully Signed-off-by: Stephen Gran --- modules/debian-org/files/dsa-puppet-stuff.cron | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/debian-org/files/dsa-puppet-stuff.cron b/modules/debian-org/files/dsa-puppet-stuff.cron index 555cdf55..97a23f5e 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 {} \; -- 2.39.2