X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=cron.daily;h=7096621d94a565b789c2d80fbe2a3f0ece8fe182;hb=7373e8d22c233a23fdbb339ac6653b7b20c2638c;hp=61f74db985dc27fea639c046ea5dd0f3686297a4;hpb=2e38e1b4845d2404e76bd9bb993a7025a1ed693c;p=dak.git diff --git a/cron.daily b/cron.daily index 61f74db9..7096621d 100755 --- a/cron.daily +++ b/cron.daily @@ -39,9 +39,9 @@ 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 @@ -72,6 +72,7 @@ ziyi # Clean out old packages rhona +shania mkmaintainers copyoverrides @@ -88,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