X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=39a4d0d8214f298e16f3748ae1b57fff502dd82c;hb=c72ca020c81a70f4813a12afbdc01f57be9d32bf;hp=aef24c09515a023aa49b7fad2521cd080b6de4f5;hpb=3fe6999ba255bd164e2c84c2c07ae5300ff5e8f7;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