Author: antoine
Date: Tue Nov 28 20:34:34 2006
New Revision: 480399
URL: http://svn.apache.org/viewvc?view=rev&rev=480399
Log:
new cron job to run on people.apache.org
Added:
ant/build/trunk/cleanup_crontab (with props)
Added: ant/build/trunk/cleanup_crontab
URL:
http://svn.apache.org/viewvc/ant/build/trunk/cleanup_crontab?view=auto&rev=480399
==============================================================================
--- ant/build/trunk/cleanup_crontab (added)
+++ ant/build/trunk/cleanup_crontab Tue Nov 28 20:34:34 2006
@@ -0,0 +1,14 @@
+##########################################################################
+# Cleanup for Ant 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/ant/nightly -mtime +7 -exec rm
\{\} \; >/dev/null 2>&1
+#-------------------------------------------------------------------------
+# Remove old log files
+#-------------------------------------------------------------------------
+37 07 * * * find /home/antoine/public_html/ant-nightlies -mtime +7 -type d
-exec rm -rf \{\} \; >/dev/null 2>&1
Propchange: ant/build/trunk/cleanup_crontab
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]