[object Object]

← back to Rentv 2026

rentv-v1: wire pull-markets into pull-news cron so /markets stays fresh (MARKETS-PATCH step 3)

0b6f1d1c01e685d711dceccebef1b4bee6af9814 · 2026-07-26 20:26:00 -0700 · Steve Abrams

Files touched

Diff

commit 0b6f1d1c01e685d711dceccebef1b4bee6af9814
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun Jul 26 20:26:00 2026 -0700

    rentv-v1: wire pull-markets into pull-news cron so /markets stays fresh (MARKETS-PATCH step 3)
---
 scripts/pull-news.mjs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/pull-news.mjs b/scripts/pull-news.mjs
index 615fe236..a4293481 100644
--- a/scripts/pull-news.mjs
+++ b/scripts/pull-news.mjs
@@ -56,3 +56,7 @@ try {
 
 // Refresh the live market ticker on the same cron (runs regardless of news outcome).
 try { await import('./pull-ticker.mjs'); } catch (e) { console.error('ticker refresh failed:', e.message); }
+
+// Refresh the Rates & Markets dashboard on the same cron (MARKETS-PATCH.md step 3;
+// keeps /markets from drifting stale post-cutover). Runs regardless of news/ticker outcome.
+try { await import('./pull-markets.mjs'); } catch (e) { console.error('markets refresh failed:', e.message); }

← 567d67ef auto-save: 2026-07-26T20:15:38 (3 files) — data/markets.json  ·  back to Rentv 2026  ·  auto-save: 2026-07-26T20:45:50 (3 files) — data/markets.json 4b36afea →