]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.hourly
Encode using utf-8 and hope for the best
[dak.git] / config / debian / cron.hourly
index 21fe3b893cd25d39dcbd22967de0c112f19467e7..0cb5994317b7b2ea2919f800a5f26187cd4b9a76 100755 (executable)
@@ -11,15 +11,15 @@ 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 -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 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
+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