← back to Allnewsdaily
com.steve.allnewsdaily-videos-push.plist
39 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">
<!-- Mac2 job: sync the All News Daily channel + push data/videos.json to Kamatera so
allnewsdaily.com/videos auto-updates. Runs ~30min after each Short publishes, + on load.
NOT loaded automatically — remote push to prod is Steve-gated.
Load: launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.steve.allnewsdaily-videos-push.plist
Unload: launchctl bootout gui/$(id -u) ~/Library/LaunchAgents/com.steve.allnewsdaily-videos-push.plist -->
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.steve.allnewsdaily-videos-push</string>
<key>ProgramArguments</key>
<array>
<string>/bin/bash</string>
<string>/Users/macstudio3/Projects/allnewsdaily/scripts/push-videos.sh</string>
</array>
<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>RunAtLoad</key>
<true/>
<key>StartCalendarInterval</key>
<array>
<dict><key>Hour</key><integer>6</integer><key>Minute</key><integer>30</integer></dict>
<dict><key>Hour</key><integer>11</integer><key>Minute</key><integer>30</integer></dict>
<dict><key>Hour</key><integer>16</integer><key>Minute</key><integer>30</integer></dict>
<dict><key>Hour</key><integer>21</integer><key>Minute</key><integer>30</integer></dict>
</array>
<key>StandardOutPath</key>
<string>/Users/macstudio3/Projects/allnewsdaily/data/videos-push.log</string>
<key>StandardErrorPath</key>
<string>/Users/macstudio3/Projects/allnewsdaily/data/videos-push.log</string>
</dict>
</plist>