← back to New Import Viewer

com.steve.dw-cadence.plist.RETIRED-dup-of-cadence-import

53 lines

<?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">
<!--
  DW publish cadence — runs run-cadence.sh once per hour (StartInterval 3600),
  draining 42 published SKUs/tick → ~1,008/day on a staggered schedule.

  ENABLE (Steve pastes):
    launchctl bootstrap gui/$(id -u) ~/Projects/new-import-viewer/com.steve.dw-cadence.plist
  DISABLE:
    launchctl bootout gui/$(id -u)/com.steve.dw-cadence

  The LIVE ceiling lives in EnvironmentVariables below (LAUNCH_CONSUMER_LIVE=1).
  To pause cadence WITHOUT unloading, flip it to 0 and kickstart — the wrapper
  then runs dry (safe no-op). NOT KeepAlive: this is a periodic tick, not a daemon,
  so a finished tick must NOT be respawned immediately.
-->
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>com.steve.dw-cadence</string>

  <key>ProgramArguments</key>
  <array>
    <string>/bin/zsh</string>
    <string>/Users/stevestudio2/Projects/new-import-viewer/run-cadence.sh</string>
  </array>

  <key>EnvironmentVariables</key>
  <dict>
    <key>LAUNCH_CONSUMER_LIVE</key>
    <string>1</string>
    <key>CADENCE_LIMIT</key>
    <string>42</string>
    <key>PATH</key>
    <string>/opt/homebrew/bin:/usr/bin:/bin:/usr/local/bin</string>
  </dict>

  <key>StartInterval</key>
  <integer>3600</integer>

  <key>RunAtLoad</key>
  <false/>

  <key>StandardOutPath</key>
  <string>/Users/stevestudio2/Projects/new-import-viewer/data/cadence-launchd.out.log</string>
  <key>StandardErrorPath</key>
  <string>/Users/stevestudio2/Projects/new-import-viewer/data/cadence-launchd.err.log</string>

  <key>WorkingDirectory</key>
  <string>/Users/stevestudio2/Projects/new-import-viewer</string>
</dict>
</plist>