← back to Commercialrealestate
commercial-broker CA-DRE hook: daily $0 cron (Steve-authorized) — confirm-broker-ca-dre.js resolves unchecked brokers via free public DRE HTTP; resumable, catches new brokers; launchd 05:30 daily
ddf3ff7733b894d49130046dbeedfc4412f8fdeb · 2026-08-03 12:11:32 -0700 · Steve Abrams
Files touched
A deploy/com.steve.cre-broker-dre-daily.plistA scripts/run-broker-dre-daily.sh
Diff
commit ddf3ff7733b894d49130046dbeedfc4412f8fdeb
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Aug 3 12:11:32 2026 -0700
commercial-broker CA-DRE hook: daily $0 cron (Steve-authorized) — confirm-broker-ca-dre.js resolves unchecked brokers via free public DRE HTTP; resumable, catches new brokers; launchd 05:30 daily
---
deploy/com.steve.cre-broker-dre-daily.plist | 26 ++++++++++++++++++++++++++
scripts/run-broker-dre-daily.sh | 12 ++++++++++++
2 files changed, 38 insertions(+)
diff --git a/deploy/com.steve.cre-broker-dre-daily.plist b/deploy/com.steve.cre-broker-dre-daily.plist
new file mode 100644
index 0000000..441658c
--- /dev/null
+++ b/deploy/com.steve.cre-broker-dre-daily.plist
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>com.steve.cre-broker-dre-daily</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/bin/zsh</string>
+ <string>/Users/macstudio3/Projects/commercialrealestate/scripts/run-broker-dre-daily.sh</string>
+ </array>
+ <key>StartCalendarInterval</key>
+ <dict>
+ <key>Hour</key>
+ <integer>5</integer>
+ <key>Minute</key>
+ <integer>30</integer>
+ </dict>
+ <key>RunAtLoad</key>
+ <false/>
+ <key>StandardOutPath</key>
+ <string>/tmp/cre-broker-dre-daily.out</string>
+ <key>StandardErrorPath</key>
+ <string>/tmp/cre-broker-dre-daily.err</string>
+</dict>
+</plist>
diff --git a/scripts/run-broker-dre-daily.sh b/scripts/run-broker-dre-daily.sh
new file mode 100755
index 0000000..ae9284f
--- /dev/null
+++ b/scripts/run-broker-dre-daily.sh
@@ -0,0 +1,12 @@
+#!/bin/zsh
+# Daily CA-DRE hook for commercial brokers (Steve 2026-08-03: "loop + daily cron if free").
+# confirm-broker-ca-dre.js resolves unchecked brokers (state IS NULL AND dre_checked_at IS NULL)
+# against the CA DRE PUBLIC lookup via plain HTTP — $0, no Browserbase, no captcha. Resumable, so
+# it only ever touches NEW/unchecked brokers as scrapes add them. Wired to launchd
+# com.steve.cre-broker-dre-daily (daily 05:30 America/Los_Angeles, after the weekly refresh).
+export PATH="/usr/local/bin:/opt/homebrew/bin:$HOME/.npm-global/bin:$HOME/.claude/local:$PATH"
+cd "$HOME/Projects/commercialrealestate" || exit 1
+LOG=/tmp/cre-broker-dre-daily.log
+echo "===== broker-dre $(date) =====" >> "$LOG"
+/opt/homebrew/bin/node scripts/confirm-broker-ca-dre.js --delay 1100 >> "$LOG" 2>&1
+echo "===== done $(date) =====" >> "$LOG"
← 1c0e4e4 condos: pull ALL 115 listings (multi-agent) — 136 license#s
·
back to Commercialrealestate
·
global search at top: /api/search across brokers+condos+SFRs 7f384b2 →