X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=9f2266d8f1cdb6f3174379b73637b3653df22ac8;hb=4880c97ecd3ad289f1511094f675e93147032caa;hp=39a4d0d8214f298e16f3748ae1b57fff502dd82c;hpb=dbd69e74c07064d9b250ef8d46c56b835ade4636;p=dak.git diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index 39a4d0d8..9f2266d8 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -3,6 +3,7 @@ # Executed hourly via cron, out of dak's crontab. set -e +set -o pipefail set -u export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars @@ -17,6 +18,7 @@ dak graph -n new,byhand,p-u-new,o-p-u-new,deferred -r $webdir/stat -i $webdir/st # do not run show-new and other stuff in parallel LOCKFILE="$lockdir/unchecked.lock" if lockfile -r16 $LOCKFILE 2> /dev/null; then + do_new dak show-new > /dev/null || true rm -f $LOCKFILE fi