[Buildbot-devel] Small correction to Buildbot manual (0.7.9)

Jarkko Palviainen jarkko.palviainen at sesca.com
Fri Feb 13 12:19:55 UTC 2009


Hi,

I was reading the maintenance chapter here:  
http://buildbot.net/repos/release/docs/buildbot.html#Maintenance and  
noticed a small glitch in the second crontab entry:

@weekly cd BASEDIR && find . -mindepth 2 -type f -mtime +14 -exec rm {} \;

The problem is that it actually removes files inside BASEDIR/public_html/  
directory if they have been laying around unmodified long enough (here,  
14*24 hours). At least it happened to me :)


A quick and dirty fix would be something like:
find . -mindepth 2 -type f -mtime +14 | grep -v public_html | xargs rm


Br,
Jarkko




More information about the devel mailing list