[object Object]

← back to Re Flyer Aggregator

property flyers: commit the daily cron wrapper (crawl + rsync to flyers.crcp) driven by the now-armed launchd job (TK-10708)

68ac0d447945f44ca0a337b2eb39bb2eb4ff237d · 2026-08-19 23:08:52 -0700 · Steve Abrams

Files touched

Diff

commit 68ac0d447945f44ca0a337b2eb39bb2eb4ff237d
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Aug 19 23:08:52 2026 -0700

    property flyers: commit the daily cron wrapper (crawl + rsync to flyers.crcp) driven by the now-armed launchd job (TK-10708)
---
 scripts/property-flyers-cron.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/scripts/property-flyers-cron.sh b/scripts/property-flyers-cron.sh
new file mode 100644
index 0000000..0f1fb1a
--- /dev/null
+++ b/scripts/property-flyers-cron.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# TK-10708  Daily property-flyer refresh: crawl CA broker listing pages for property one-sheets,
+# then push the fresh gallery live to flyers.crcp.agentabrams.com. $0 (local crawl + rsync).
+# Driven by launchd com.steve.property-flyers (daily). PATH baked (launchd has none).
+export PATH=/opt/homebrew/bin:/opt/homebrew/opt/postgresql@14/bin:/usr/bin:/bin:/usr/sbin:/sbin
+cd "$HOME/Projects/re-flyer-aggregator" || exit 1
+LOG=data/property-flyers-cron.log
+echo "=== property-flyer refresh $(date) ===" >> "$LOG"
+node scripts/property-flyers.mjs --n 150 --pages 6 --delay 700 >> "$LOG" 2>&1
+rsync -az -e ssh public/flyers-found/ root@45.61.58.125:/var/www/flyers.crcp.agentabrams.com/flyers-found/ >> "$LOG" 2>&1 \
+  && echo "deployed $(node -e "console.log(require('./public/flyers-found/property-flyers.json').length)") flyers $(date)" >> "$LOG"

← e87dd43 sources dashboard: add view-mode switch (Table/Grid/List/KV)  ·  back to Re Flyer Aggregator  ·  capture: loosen 'deals kept' to RENTV-breadth (any recent CR 471e0d7 →