don't keep old builds quite as long
authorbuild <build@1e5ffdc8-eadd-0310-9daa-9cb4117fe24b>
Tue, 29 Dec 2009 23:17:08 +0000 (23:17 +0000)
committerbuild <build@1e5ffdc8-eadd-0310-9daa-9cb4117fe24b>
Tue, 29 Dec 2009 23:17:08 +0000 (23:17 +0000)
git-svn-id: file:///home/svn/build-farm/trunk@928 1e5ffdc8-eadd-0310-9daa-9cb4117fe24b

daily.sh

index eb8449f0de1882f0b5a71098b5b0421ab951889a..4f72b2cfae01f8ce2fbe9fa6042f14198ddebdeb 100755 (executable)
--- a/daily.sh
+++ b/daily.sh
@@ -4,7 +4,7 @@ sqlite3 `dirname $0`/hostdb.sqlite 'VACUUM;'
 cd `dirname $0` && exec ./mail-dead-hosts.pl
 
 # delete old ones that are not used any more
-find `dirname $0`/data/oldrevs -type f -mtime +21 -links 1 -print0 | xargs -i -0 rm -f \{\}
+find `dirname $0`/data/oldrevs -type f -mtime +10 -links 1 -print0 | xargs -i -0 rm -f \{\}
 
 # delete any really old data
 find `dirname $0`/data -type f -mtime +120  -print0 | xargs -i -0 rm -f \{\}