Ticket #304 (new defect)

Opened 5 months ago

Harmful maintenance advice in section 2.9 of the user manual

Reported by: runehol Assigned to:
Priority: major Milestone: undecided
Component: documentation Version: 0.7.7
Keywords: Cc:

Description

The 2.9 Maintenance section of the 0.7.7 user manual suggests using

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

to clean up logs. This was a good idea in 0.7.5, but since later versions of buildbot use a public_html subdirectory, this cron job cleans out the css and static html files belonging to buildbot. Changing the cron line to something like this will solve the problem:

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