X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.daily;h=7096621d94a565b789c2d80fbe2a3f0ece8fe182;hb=fd5062bd8452f024cf57cea122ce35b2a3de9e0b;hp=62511c0b441e1b7d455595510cb71743b10e587f;hpb=529b672cff736e8f81aa287e268f951329bf61ce;p=dak.git diff --git a/cron.daily b/cron.daily index 62511c0b..7096621d 100755 --- a/cron.daily +++ b/cron.daily @@ -35,12 +35,13 @@ pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) update-bugdoctxt update-mirrorlists +update-mailingliststxt ################################################################################ -cd $incoming +cd $accepted rm -f REPORT -katie -pak *.changes | direport | tee REPORT | \ +katie -pa *.changes | tee REPORT | \ mail -s "Install for $(date +%D)" ftpmaster@ftp-master.debian.org chgrp debadmin REPORT chmod 664 REPORT @@ -71,6 +72,7 @@ ziyi # Clean out old packages rhona +shania mkmaintainers copyoverrides @@ -87,6 +89,11 @@ pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) ################################################################################ +# Vacuum the database +echo "VACUUM; VACUUM ANALYZE;" | psql projectb 2>&1 | grep -v "^NOTICE: Skipping.*only table owner can VACUUM it$" + +################################################################################ + ulimit -m 90000 -d 90000 -s 10000 -v 90000 run-parts --report /org/ftp.debian.org/scripts/distmnt