← back to Daily Overnight Skus
switch to true overnight window: yesterday 5pm PT -> today 6:30am PT
fbe9e7a31db8e27b669dfb9981ef76c4602a3b09 · 2026-05-11 10:07:50 -0700 · SteveStudio2
Job fires Tue-Sat at 06:30 PT (was Mon-Fri 23:30), so each run reports
the prior weeknight's after-hours orders rather than a calendar day.
Mon overnight -> Tue 06:30 fire, Fri overnight -> Sat 06:30 fire.
Files touched
Diff
commit fbe9e7a31db8e27b669dfb9981ef76c4602a3b09
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Mon May 11 10:07:50 2026 -0700
switch to true overnight window: yesterday 5pm PT -> today 6:30am PT
Job fires Tue-Sat at 06:30 PT (was Mon-Fri 23:30), so each run reports
the prior weeknight's after-hours orders rather than a calendar day.
Mon overnight -> Tue 06:30 fire, Fri overnight -> Sat 06:30 fire.
---
run.sh | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/run.sh b/run.sh
index cda0c5e..0d00767 100755
--- a/run.sh
+++ b/run.sh
@@ -18,10 +18,13 @@ export GMAIL_AGENT='http://100.107.67.67:9850'
# update both here and ~/.claude.json if George rotates the password).
export GMAIL_BASIC_AUTH_B64='YWRtaW46STNZdXNpc2RFU1VOZHh0cm1sYjNRSmV1OXE4T0RLSk8='
-# Today's date in America/Los_Angeles (e.g. "2026-05-11")
+# Overnight window: yesterday 5pm PT -> today 6:30am PT.
+# Job fires at 6:30 AM PT Tue-Sat, so each run captures the prior
+# weeknight's after-hours orders. For Mon overnight, run fires Tue 6:30am.
TODAY_PT=$(TZ=America/Los_Angeles date +%Y-%m-%d)
-START="${TODAY_PT}T00:00:00-07:00" # PDT — script normalizes anyway
-END="${TODAY_PT}T23:59:59-07:00"
+YESTERDAY_PT=$(TZ=America/Los_Angeles date -v-1d +%Y-%m-%d)
+START="${YESTERDAY_PT}T17:00:00-07:00" # 5:00 PM PT prior day
+END="${TODAY_PT}T06:30:00-07:00" # 6:30 AM PT this morning
echo "[run] window: $START -> $END"
← 86aec3b initial scaffold: Daily Overnight SKUs nightly report (Mon-F
·
back to Daily Overnight Skus
·
track live launchd plist (mirror of ~/Library/LaunchAgents/. facfbd9 →