From: Joerg Jaspert Date: Sun, 10 Oct 2010 14:19:22 +0000 (+0200) Subject: Add hourly cronjob X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=89ff098d0908e083c952d1fa9344e93525c85961;p=dak.git Add hourly cronjob Signed-off-by: Joerg Jaspert --- diff --git a/config/backports/cron.hourly b/config/backports/cron.hourly new file mode 100755 index 00000000..5cca477c --- /dev/null +++ b/config/backports/cron.hourly @@ -0,0 +1,26 @@ +#! /bin/sh +# +# Executed hourly via cron, out of dak's crontab. + +set -e +set -u + +export SCRIPTVARS=/srv/backports-master.debian.org/dak/config/backports/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/removals.rss + +#$scriptsdir/generate-di