ReleaseEngineering:StageCleanupPolicy: Difference between revisions

Jump to navigation Jump to search
Line 34: Line 34:


=== SeaMonkey ===
=== SeaMonkey ===
# Delete all installer and xpi files/dirs older than 6 months.
  @weekly nice -n 19 find /home/ftp/pub/seamonkey/nightly -mtime +180 \( -name '*.installer.*' -o -name '*xpi' \) -exec rm -rf '{}' \;
  @weekly nice -n 19 find /home/ftp/pub/seamonkey/nightly -mtime +180 \( -name '*.installer.*' -o -name '*xpi' \) -exec rm -rf '{}' \;
# Delete all MAR files older than 1 month that aren't in a candidates dir.
@weekly nice -n 19 find /home/ftp/pub/seamonkey/nightly -wholename '*-candidates' -prune -o -mtime +30 -name '*.mar' -exec rm -f '{}' \;
# Delete empty dirs.
  @weekly nice -n 19 find /home/ftp/pub/seamonkey/nightly -depth -empty -type d rmdir '{}' \;
  @weekly nice -n 19 find /home/ftp/pub/seamonkey/nightly -depth -empty -type d rmdir '{}' \;


canmove, Confirmed users
2,850

edits

Navigation menu