]> git.decadent.org.uk Git - dak.git/commitdiff
Add hourly cronjob
authorJoerg Jaspert <joerg@debian.org>
Sun, 10 Oct 2010 14:19:22 +0000 (16:19 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 10 Oct 2010 14:19:22 +0000 (16:19 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/backports/cron.hourly [new file with mode: 0755]

diff --git a/config/backports/cron.hourly b/config/backports/cron.hourly
new file mode 100755 (executable)
index 0000000..5cca477
--- /dev/null
@@ -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