X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=73ba6afc4c9a77eda342fb11e5242819c828eb93;hb=c9e2c7c7755ec4c706f672120547647306f82fe7;hp=30e81b59e0d8a20af82871e1ed56117272133f7b;hpb=92d4158d336cc081cfa77377641385b84b44a3db;p=dak.git diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index 30e81b59..73ba6afc 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -10,9 +10,16 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars dak import-users-from-passwd dak queue-report -n > $webdir/new.html -dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -dak show-deferred > ${webdir}/deferred.html -dak show-new > /dev/null +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 + +# 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 cd $webdir cat removals-20*.txt > removals-full.txt