diff options
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 19da9311..755987d7 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -192,7 +192,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then SELECT s.id, s.name, p.date_scheduled, p.date_build_started FROM schedule AS p JOIN sources AS s ON p.package_id=s.id WHERE p.date_scheduled != '' - AND p.date_build_started != '' + AND p.date_build_started IS NOT NULL AND p.date_build_started < datetime('now', '-36 hours') ORDER BY p.date_scheduled " |