Closed Bug 737579 Opened 13 years ago Closed 13 years ago

log cleanup jobs for jetpack

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

References

Details

(Whiteboard: [logs])

jetpack logs are now going into /home/ftp/pub/jetpack on surf. we'll need to delete these eventually.
how about something like @hourly nice -n 19 find /pub/mozilla.org/jetpack/tinderbox-builds/ -mindepth 2 -maxdepth 2 -type d -mtime +29 -name 1????????? | xargs rm -rf
hm, need more than that @hourly nice -n 19 find /pub/mozilla.org/jetpack/tinderbox-builds/ -type f -mtime +29 | xargs rm -rf as well
(In reply to Chris AtLee [:catlee] from comment #2) > @hourly nice -n 19 find /pub/mozilla.org/jetpack/tinderbox-builds/ -type f > -mtime +29 | xargs rm -rf I think you only need this one, and not worry about any empty dirs left behind if the platforms change. Just @daily would be fine too.
how does this look? @daily nice -n 19 find /pub/mozilla.org/jetpack/tinderbox-builds/ -type f -mtime +29 -delete
Looks good.
added the same for spidermonkey
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.