← back to Rentv

deploy/com.steve.rentv-vimeo-refresh.plist

23 lines

<?xml version="1.0" encoding="UTF-8"?>
<!-- Vimeo-library auto-refresh for RENTV (The REview). Runs pull-vimeo-library.py
     every 6h, refreshing data/vimeo-library.json + localizing thumbnails.
     STAGED — not loaded. Install (Steve-gated) with:
       launchctl bootstrap gui/$(id -u) ~/Projects/rentv/deploy/com.steve.rentv-vimeo-refresh.plist
     Prefer the PROD crontab (see pending-approval memo) if the refresh should run on
     Kamatera instead of the Mac. -->
<plist version="1.0">
<dict>
  <key>Label</key><string>com.steve.rentv-vimeo-refresh</string>
  <key>ProgramArguments</key>
  <array>
    <string>/usr/bin/python3</string>
    <string>/Users/macstudio3/Projects/rentv/scripts/pull-vimeo-library.py</string>
  </array>
  <key>WorkingDirectory</key><string>/Users/macstudio3/Projects/rentv</string>
  <key>StartInterval</key><integer>21600</integer>
  <key>RunAtLoad</key><true/>
  <key>StandardOutPath</key><string>/Users/macstudio3/Projects/rentv/logs/vimeo-refresh.log</string>
  <key>StandardErrorPath</key><string>/Users/macstudio3/Projects/rentv/logs/vimeo-refresh.err</string>
</dict>
</plist>