X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.daily;h=5cb1cebd0bb94459a5e997d54dbfad6ad9f00e7a;hb=afa06422781411ebaa10fdfbd9cf5a7e41d7d8c6;hp=0d2d7fc4e2524398a6552c9b8e37b62371b32542;hpb=8ae39dfa247176a7fc3650c562c7f794334d6493;p=dak.git diff --git a/cron.daily b/cron.daily index 0d2d7fc4..5cb1cebd 100755 --- a/cron.daily +++ b/cron.daily @@ -55,6 +55,12 @@ jenna # Generate override files cd $overridedir denise + +# Update task overrides for testing and unstable +# [JT 2004-02-04 disabled; copying in by hand for now] +#cat $extoverridedir/task | perl -ne 'print if /^\S+\sTask\s\S+(,\s*\S+)*$/;' > override.sarge.extra.main +#cat $extoverridedir/task | perl -ne 'print if /^\S+\sTask\s\S+(,\s*\S+)*$/;' > override.sid.extra.main + # FIXME rm -f override.potato.all3 override.sid.all3 for i in main contrib non-free; do cat override.potato.$i >> override.potato.all3; done @@ -81,7 +87,9 @@ echo Archive maintenance finished at $(date +%X) ################################################################################ echo "Creating post-daily-cron-job backup of projectb database..." -pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) +POSTDUMP=/org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) +pg_dump projectb > $POSTDUMP +(cd /org/ftp.debian.org/backup; ln -sf $POSTDUMP current) ################################################################################ @@ -97,6 +105,12 @@ rene | mail -e -s "rene run for $(date +%D)" ftpmaster@ftp-master.debian.org ################################################################################ +# Run billie + +time billie + +################################################################################ + ulimit -m 90000 -d 90000 -s 10000 -v 90000 run-parts --report /org/ftp.debian.org/scripts/distmnt