X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=30e81b59e0d8a20af82871e1ed56117272133f7b;hb=610b08292f816e81e7dea5446bbdd22effb434d7;hp=8efa0e09cb19c07181161efb98f859ef79be0e1d;hpb=da564af9a40d05d078e5ec7e49c0c778ae08ea0e;p=dak.git diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly old mode 100644 new mode 100755 index 8efa0e09..30e81b59 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -1,10 +1,26 @@ #! /bin/sh # -# Executed hourly via cron, out of troup's crontab. +# Executed hourly via cron, out of dak's crontab. set -e -export SCRIPTVARS=/org/ftp.debian.org/dak/config/debian/vars +set -u + +export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS dak import-users-from-passwd dak queue-report -n > $webdir/new.html +dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates +dak show-deferred > ${webdir}/deferred.html +dak show-new > /dev/null + +cd $webdir +cat removals-20*.txt > removals-full.txt +cat removals.txt >> removals-full.txt +cat removals-20*.822 > removals-full.822 +cat removals.822 >> removals-full.822 + +$base/dak/tools/queue_rss.py -q $queuedir/new -o $webdir/rss/ -d $base/misc -l $base/log/ +$base/dak/tools/removals.pl $configdir/removalsrss.rc > $webdir/rss/removals.rss + +$scriptsdir/generate-di