move the merge down 1 day to try and catch up with actual date

This commit is contained in:
Stephen Smoogen 2019-10-01 19:35:01 +00:00 committed by Pierre-Yves Chibon
parent 97cadd4f64
commit 6dbfcf8b18
3 changed files with 9 additions and 3 deletions

View file

@ -22,7 +22,9 @@
# Because sync-http may not get all logs for 3 days, we only merge # Because sync-http may not get all logs for 3 days, we only merge
# things after 4 days. # things after 4 days.
NUMDAYS=4 # 2019-10-01 Dropped this down to 3 days..
NUMDAYS=3
YEAR=$(/bin/date -d "-${NUMDAYS} days" +%Y) YEAR=$(/bin/date -d "-${NUMDAYS} days" +%Y)
MONTH=$(/bin/date -d "-${NUMDAYS} days" +%m) MONTH=$(/bin/date -d "-${NUMDAYS} days" +%m)
DAY=$(/bin/date -d "-${NUMDAYS} days" +%d) DAY=$(/bin/date -d "-${NUMDAYS} days" +%d)

View file

@ -24,7 +24,9 @@
# take a day to combine all the logs onto combined-httpd. So we assume # take a day to combine all the logs onto combined-httpd. So we assume
# we are 5 days behind. # we are 5 days behind.
let NUMDAYS=5 # We have dropped this down to 3 days on 2019-10-01
let NUMDAYS=4
let OLDDAYS=$(( $NUMDAYS+1 )) let OLDDAYS=$(( $NUMDAYS+1 ))
PROJECT=mirrors PROJECT=mirrors

View file

@ -24,7 +24,9 @@
# take a day to combine all the logs onto combined-httpd. So we assume # take a day to combine all the logs onto combined-httpd. So we assume
# we are 6 days behind. # we are 6 days behind.
let NUMDAYS=6 # We have dropped this down to 3 days on 2019-10-01
let NUMDAYS=5
# This is the year/month/day for a N days ago. # This is the year/month/day for a N days ago.
YEAR=$(/bin/date -d "-${NUMDAYS} days" +%Y) YEAR=$(/bin/date -d "-${NUMDAYS} days" +%Y)