← back to Dw Photo Capture

deploy/launchd/com.steve.color-index-rebuild.plist

35 lines

<?xml version="1.0" encoding="UTF-8"?>
<!-- Nightly rebuild + ship of the PDP color-index (03:30 local).
     DRAFT — install with:
       cp deploy/launchd/com.steve.color-index-rebuild.plist ~/Library/LaunchAgents/
       launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.steve.color-index-rebuild.plist
     Runs scripts/refresh-color-index.sh: builds from live shopify_products and
     rsyncs the json to Kamatera (endpoint hot-reloads on mtime). -->
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.steve.color-index-rebuild</string>
    <key>ProgramArguments</key>
    <array>
        <string>/bin/bash</string>
        <string>/Users/macstudio3/Projects/dw-photo-capture/scripts/refresh-color-index.sh</string>
    </array>
    <key>WorkingDirectory</key>
    <string>/Users/macstudio3/Projects/dw-photo-capture</string>
    <key>StartCalendarInterval</key>
    <dict>
        <key>Hour</key>
        <integer>3</integer>
        <key>Minute</key>
        <integer>30</integer>
    </dict>
    <key>RunAtLoad</key>
    <false/>
    <key>StandardOutPath</key>
    <string>/Users/macstudio3/Projects/dw-photo-capture/logs/color-index-rebuild.log</string>
    <key>StandardErrorPath</key>
    <string>/Users/macstudio3/Projects/dw-photo-capture/logs/color-index-rebuild.log</string>
</dict>
</plist>