From a9fb9c925b3dfdb9c0c359b5fe22e69c750b8fba Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 15 Feb 2015 17:47:25 +0100 Subject: reproducible: warn if packages were scheduled more than 36h ago --- bin/reproducible_maintainance.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh index 87ce245f..8be802bd 100755 --- a/bin/reproducible_maintainance.sh +++ b/bin/reproducible_maintainance.sh @@ -85,14 +85,14 @@ QUERY=" SELECT * FROM sources_scheduled WHERE date_scheduled != '' AND date_build_started != '' - AND date_build_started < datetime('now', '-1 day') + AND date_build_started < datetime('now', '-36 hours') ORDER BY date_scheduled " PACKAGES=$(mktemp) sqlite3 -init $INIT ${PACKAGES_DB} "$QUERY" > $PACKAGES 2> /dev/null || echo "Warning: SQL query '$QUERY' failed." if grep -q '|' $PACKAGES ; then echo - echo "Warning: packages found where the build was started more than 24h ago:" + echo "Warning: packages found where the build was started more than 36h ago:" echo "name|date_scheduled|date_build_started" echo cat $PACKAGES -- cgit v1.2.3-70-g09d2