Commit 14ddcf02 authored by Holger Levsen's avatar Holger Levsen

reproducible Arch Linux: reschedule packages which have been tested 4 days ago. (just before: 5d)

Signed-off-by: Holger Levsen's avatarHolger Levsen <>
parent 18a33594
......@@ -190,7 +190,7 @@ update_archlinux_repositories() {
echo "$(date -u ) - should we schedule old packages?"
local THRESHOLD=600
MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "5 days ago")
MINDATE=$(date -u +"%Y-%m-%d %H:%M" -d "4 days ago")
SCHDATE=$(date -u +"%Y-%m-%d %H:%M" -d "7 days")
local CURRENT=$(query_db "SELECT count(*) FROM sources AS s JOIN schedule AS sch ON WHERE s.distribution=$DISTROID AND s.architecture='x86_64' AND sch.date_build_started IS NULL;")
if [ $CURRENT -le $THRESHOLD ] ; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment