[object Object]

← back to Govarbitrage

Add daily-noon refresh runners for Municibid/PublicSurplus/GovPlanet

97704b24b2d53badab03d4dae997eb3b5499e162 · 2026-07-10 11:55:47 -0700 · Steve

launchd jobs com.steve.govarbitrage-{municibid,publicsurplus,govplanet}-free
fire at 12:00/12:04/12:08 (staggered), refreshing the LOCAL db that feeds
the digest. Verified via kickstart+log (100 fetched, idempotent upsert).

Files touched

Diff

commit 97704b24b2d53badab03d4dae997eb3b5499e162
Author: Steve <steve@designerwallcoverings.com>
Date:   Fri Jul 10 11:55:47 2026 -0700

    Add daily-noon refresh runners for Municibid/PublicSurplus/GovPlanet
    
    launchd jobs com.steve.govarbitrage-{municibid,publicsurplus,govplanet}-free
    fire at 12:00/12:04/12:08 (staggered), refreshing the LOCAL db that feeds
    the digest. Verified via kickstart+log (100 fetched, idempotent upsert).
---
 scripts/run-govplanet-free.sh     | 8 ++++++++
 scripts/run-municibid-free.sh     | 8 ++++++++
 scripts/run-publicsurplus-free.sh | 8 ++++++++
 3 files changed, 24 insertions(+)

diff --git a/scripts/run-govplanet-free.sh b/scripts/run-govplanet-free.sh
new file mode 100755
index 0000000..c7ac9a4
--- /dev/null
+++ b/scripts/run-govplanet-free.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# FREE daily govplanet refresh (launchd ~noon). $0, no browser, no API key —
+# server-rendered HTML / embedded JSON parsed straight from the site.
+# Refreshes the LOCAL govarbitrage DB (feeds the digest email).
+set -e
+cd "$(dirname "$0")/.."
+export PATH="/opt/homebrew/bin:/usr/bin:/bin:$PATH"
+exec /opt/homebrew/bin/npx tsx scripts/import-govplanet-free.ts 100
diff --git a/scripts/run-municibid-free.sh b/scripts/run-municibid-free.sh
new file mode 100755
index 0000000..30a4f21
--- /dev/null
+++ b/scripts/run-municibid-free.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# FREE daily municibid refresh (launchd ~noon). $0, no browser, no API key —
+# server-rendered HTML / embedded JSON parsed straight from the site.
+# Refreshes the LOCAL govarbitrage DB (feeds the digest email).
+set -e
+cd "$(dirname "$0")/.."
+export PATH="/opt/homebrew/bin:/usr/bin:/bin:$PATH"
+exec /opt/homebrew/bin/npx tsx scripts/import-municibid-free.ts 100
diff --git a/scripts/run-publicsurplus-free.sh b/scripts/run-publicsurplus-free.sh
new file mode 100755
index 0000000..a42c310
--- /dev/null
+++ b/scripts/run-publicsurplus-free.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# FREE daily publicsurplus refresh (launchd ~noon). $0, no browser, no API key —
+# server-rendered HTML / embedded JSON parsed straight from the site.
+# Refreshes the LOCAL govarbitrage DB (feeds the digest email).
+set -e
+cd "$(dirname "$0")/.."
+export PATH="/opt/homebrew/bin:/usr/bin:/bin:$PATH"
+exec /opt/homebrew/bin/npx tsx scripts/import-publicsurplus-free.ts 100

← b44789f Crack GovPlanet (free): extract embedded quickviews JSON, US  ·  back to Govarbitrage  ·  Add HOT DEAL alerts + fast dead-listing removal + listing li e9ed2a5 →