[dak/master] Re-enable show-new, but don't kill cron.hourly if it dies
Signed-off-by: Mark Hymers <mhy@debian.org>
---
config/debian/cron.hourly | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly
index 21fe3b8..dc17a55 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
--
1.7.2.5
Reply to: