X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=39a4d0d8214f298e16f3748ae1b57fff502dd82c;hb=e13fd3c48245d48b0335649d294aacaee666bab5;hp=aef24c09515a023aa49b7fad2521cd080b6de4f5;hpb=d4ede014e6f4df2f3ea798e610df8d1dbfbf2843;p=dak.git diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index aef24c09..39a4d0d8 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # # Executed hourly via cron, out of dak's crontab. @@ -12,12 +12,12 @@ dak import-users-from-passwd dak queue-report -n > $webdir/new.html dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir/stat dak show-deferred -r $webdir/stat > ${webdir}/deferred.html -dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates +dak graph -n new,byhand,p-u-new,o-p-u-new,deferred -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates # do not run show-new and other stuff in parallel LOCKFILE="$lockdir/unchecked.lock" if lockfile -r16 $LOCKFILE 2> /dev/null; then - dak show-new > /dev/null + dak show-new > /dev/null || true rm -f $LOCKFILE fi