From: Mark Hymers Date: Fri, 1 Apr 2011 11:21:09 +0000 (+0000) Subject: Re-enable show-new, but don't kill cron.hourly if it dies X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c7ac1ec4cd1e440c500608ee765be3fd6d0090e3;p=dak.git Re-enable show-new, but don't kill cron.hourly if it dies Signed-off-by: Mark Hymers --- diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index 21fe3b89..dc17a55f 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -15,11 +15,11 @@ dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir/ #dak graph -n new,byhand,proposedupdates,oldproposedupdates,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 -# rm -f $LOCKFILE -#fi +LOCKFILE="$lockdir/unchecked.lock" +if lockfile -r16 $LOCKFILE 2> /dev/null; then + dak show-new > /dev/null || true + rm -f $LOCKFILE +fi cd $webdir cat removals-20*.txt > removals-full.txt