Closed
Bug 737579
Opened 13 years ago
Closed 13 years ago
log cleanup jobs for jetpack
Categories
(Release Engineering :: General, defect)
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.
| Assignee | ||
Comment 1•13 years ago
|
||
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
| Assignee | ||
Comment 2•13 years ago
|
||
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
Comment 3•13 years ago
|
||
(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.
| Assignee | ||
Comment 4•13 years ago
|
||
how does this look?
@daily nice -n 19 find /pub/mozilla.org/jetpack/tinderbox-builds/ -type f -mtime +29 -delete
Comment 5•13 years ago
|
||
Looks good.
| Assignee | ||
Comment 6•13 years ago
|
||
added the same for spidermonkey
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•