Author: psteitz
Date: Fri Nov 17 23:41:19 2006
New Revision: 476462

URL: http://svn.apache.org/viewvc?view=rev&rev=476462
Log:
Committing current cleanup crontab.

Added:
    jakarta/commons/proper/commons-build/trunk/cleanup_crontab

Added: jakarta/commons/proper/commons-build/trunk/cleanup_crontab
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/commons-build/trunk/cleanup_crontab?view=auto&rev=476462
==============================================================================
--- jakarta/commons/proper/commons-build/trunk/cleanup_crontab (added)
+++ jakarta/commons/proper/commons-build/trunk/cleanup_crontab Fri Nov 17 
23:41:19 2006
@@ -0,0 +1,23 @@
+##########################################################################
+# Cleanup for Jakarta Commons nightly builds                             #
+#                                                                        #
+# Deletes distributions, snapshots and logs more than a week old         #
+#                                                                        #
+##########################################################################
+#-------------------------------------------------------------------------
+# Delete old tarballs/zips from nightly build location
+#-------------------------------------------------------------------------
+07 07 * * * find /www/people.apache.org/builds/jakarta-commons/nightly -mtime 
+7 -exec rm \{\} \; >/dev/null 2>&1
+#-------------------------------------------------------------------------
+# Delete old snapshots from maven 1 snapshot repo
+#-------------------------------------------------------------------------
+17 07 * * * find 
/www/people.apache.org/repo/m1-snapshot-repository/commons-*/*/commons-*-2006* 
-mtime +7 -user psteitz -exec rm \{\} \; >/dev/null 2>&1
+#-------------------------------------------------------------------------
+# Delete old snapshots from maven 2 snapshot repo
+#-------------------------------------------------------------------------
+27 07 * * * find 
/www/people.apache.org/repo/m2-snapshot-repository/org/apache/commons -mtime +7 
-user psteitz -exec rm \{\}
+\; >/dev/null 2>&1
+#-------------------------------------------------------------------------
+# Remove old log files
+#-------------------------------------------------------------------------
+37 07 * * * find /home/psteitz/public_html/commons-nightlies -mtime +7 -type d 
-exec rm -rf \{\} \; >/dev/null 2>&1



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to