X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=334523748aad60bf849ecad139d9043eb36b72c8;hb=7087fb77f094f969fba18b033d3138c8c0e0aa99;hp=85af9120ff33b0f7e498dee903f3089b6eee6f04;hpb=59fd5aa2a8be3b76dbc968429c457f096adfa472;p=dak.git diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly old mode 100644 new mode 100755 index 85af9120..33452374 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -1,11 +1,24 @@ #! /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/katie/vars +set -u + +export SCRIPTVARS=/srv/ftp.debian.org/dak/config/debian/vars . $SCRIPTVARS -cd $masterdir -julia -helena -n > $webdir/new.html +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 + +$base/dak/tools/queue_rss.py -q $queuedir/new -o $webdir/rss/ -d $base/misc -l $base/log/ +$base/dak/tools/removals.pl > $webdir/rss/removals.rss + +$scriptsdir/generate-di