← back to Allnewsdaily
com.steve.allnewsdaily-daily-short.plist
51 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">
<!-- allnewsdaily daily YouTube Short (TK-11342). Renders the top ~6 wire.json headlines into a
vertical <60s Short (ElevenLabs VO + branded cards) and uploads it UNLISTED for Steve to promote.
NOT loaded automatically — installing a recurring auto-publish + metered job is Steve-gated, and
it requires YOUTUBE_REFRESH_TOKEN (run youtube-auth.mjs first).
Load: launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.steve.allnewsdaily-daily-short.plist
Unload: launchctl bootout gui/$(id -u) ~/Library/LaunchAgents/com.steve.allnewsdaily-daily-short.plist -->
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.steve.allnewsdaily-daily-short</string>
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/bin/node</string>
<string>/Users/macstudio3/Projects/allnewsdaily/scripts/short/make-daily-short.mjs</string>
</array>
<!-- Cody #2: launchd strips PATH to /usr/bin:/bin — put Homebrew first so node/ffmpeg/ffprobe/magick resolve. -->
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
<key>HOME</key>
<string>/Users/macstudio3</string>
</dict>
<key>WorkingDirectory</key>
<string>/Users/macstudio3/Projects/allnewsdaily</string>
<!-- Up to 4x daily: 6:00, 11:00, 16:00, 21:00 local (~5h apart). Each run picks different
(non-repeat) headlines; a run self-skips if <2h since the last or no fresh headlines. -->
<key>StartCalendarInterval</key>
<array>
<dict><key>Hour</key><integer>6</integer><key>Minute</key><integer>0</integer></dict>
<dict><key>Hour</key><integer>11</integer><key>Minute</key><integer>0</integer></dict>
<dict><key>Hour</key><integer>16</integer><key>Minute</key><integer>0</integer></dict>
<dict><key>Hour</key><integer>21</integer><key>Minute</key><integer>0</integer></dict>
</array>
<key>RunAtLoad</key>
<false/>
<key>StandardOutPath</key>
<string>/Users/macstudio3/Projects/allnewsdaily/data/short/daily-short.log</string>
<key>StandardErrorPath</key>
<string>/Users/macstudio3/Projects/allnewsdaily/data/short/daily-short.log</string>
</dict>
</plist>