← back to Commercialrealestate
refresh: set CC_FRESH=1 so SFR re-sweeps every run (ledger was skipping all regions -> no-op)
dcf9b4de52471d22c104e067fdd6b1d3b5a02b6e · 2026-07-06 13:33:24 -0700 · Steve Abrams
Files touched
M scripts/run-residential-refresh.sh
Diff
commit dcf9b4de52471d22c104e067fdd6b1d3b5a02b6e
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Jul 6 13:33:24 2026 -0700
refresh: set CC_FRESH=1 so SFR re-sweeps every run (ledger was skipping all regions -> no-op)
---
scripts/run-residential-refresh.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/run-residential-refresh.sh b/scripts/run-residential-refresh.sh
index 454522d..6a78dfe 100755
--- a/scripts/run-residential-refresh.sh
+++ b/scripts/run-residential-refresh.sh
@@ -13,6 +13,11 @@ cd "$HOME/Projects/commercialrealestate" || exit 1
export NODE_PATH="$HOME/.claude/skills/browserbase/node_modules"
export CC_LOCAL=1
export CHROME_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
+# CC_FRESH=1 clears the SFR resume ledger so every scheduled run RE-SWEEPS all regions (refreshes
+# current prices + catches new listings). Without it the ledger skips already-swept regions and the
+# refresh is a no-op. NOTE: both scrapers are upsert-only (no delete), so off-market listings linger
+# until a listing id stops resolving — acceptable for a 4x/day price/inventory refresh.
+export CC_FRESH=1
DEPLOY_HOST=45.61.58.125
DEPLOY_PATH=/root/public-projects/commercialrealestate
← 4a6fac7 residential refresh: CC_LOCAL=1 mode ($0 local Chrome, no Br
·
back to Commercialrealestate
·
mls: rename browser title -> 'LA County MLS — Residential + 843d559 →