[object Object]

← back to Marketing Command Center

refresh-clients.sh: pin PATH for launchd (node/python/homebrew)

09230f07b20a2d2f9dc9fc7a315ba498ff681157 · 2026-07-16 10:57:21 -0700 · steve

Files touched

Diff

commit 09230f07b20a2d2f9dc9fc7a315ba498ff681157
Author: steve <steve@designerwallcoverings.com>
Date:   Thu Jul 16 10:57:21 2026 -0700

    refresh-clients.sh: pin PATH for launchd (node/python/homebrew)
---
 scripts/refresh-clients.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/refresh-clients.sh b/scripts/refresh-clients.sh
old mode 100644
new mode 100755
index 7836a0c..c2d2bd2
--- a/scripts/refresh-clients.sh
+++ b/scripts/refresh-clients.sh
@@ -7,6 +7,8 @@
 # Run by launchd (com.steve.mcc-clients-refresh) weekly + on-demand kickstart.
 # Idempotent + single-instance (flock). Nothing here uploads to Constant Contact.
 set -uo pipefail
+# launchd runs with a minimal PATH — pin node/python/homebrew locations.
+export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH"
 PROJ="$HOME/Projects/marketing-command-center"
 LOG=/tmp/mcc-clients-refresh.log
 LOCK=/tmp/mcc-clients-refresh.lock

← 2ba021c register clients module in registry so the panel mounts in t  ·  back to Marketing Command Center  ·  refresh-clients.sh: mkdir lock (macOS has no flock) b50489a →