Ticket #413 (closed enhancement: fixed)
Sample crontab maintenance script will delete files in $BASEDIR/public_html
| Reported by: | ericfung | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.7.10 |
| Version: | 0.7.9 | Keywords: | crontab maintenance |
| Cc: |
Description
In Sec 2.9 (Maintenance) of the BuildBot Manual, there are sample crontab entries to manage the status and log files for builds. This sample entry:
@weekly cd BASEDIR && find . -mindepth 2 -type f -mtime +14 -exec rm {} ;
has the potential to delete files in the $BASEDIR/public_html directory since public_html is at the same depth as the build directories where logs are kept.
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
@weekly cd BASEDIR && find . -mindepth 2 -path './public_html/*' -prune -o -type f -mtime +14 -exec rm {} ;should work better -- patch committed.