<?xml version="1.0" encoding="UTF-8"?>
<!-- Hourly vault sweep LaunchAgent (template).
     Replace __SWEEP_SH__ with the absolute path to sweep.sh in your checkout
     (e.g. /Users/<you>/<vault>/Agent/scripts/sweep/sweep.sh), then install:
       sed "s#__SWEEP_SH__#$ABS_PATH#" com.alexandria.vault-sweep.plist > \
         ~/Library/LaunchAgents/com.alexandria.vault-sweep.plist
       launchctl load ~/Library/LaunchAgents/com.alexandria.vault-sweep.plist
     Runs at the top of every hour; sweep.py decides which tasks are actually due. -->
<!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.alexandria.vault-sweep</string>
  <key>ProgramArguments</key><array><string>/bin/sh</string><string>__SWEEP_SH__</string></array>
  <key>StartCalendarInterval</key><dict><key>Minute</key><integer>0</integer></dict>
  <key>StandardOutPath</key><string>__LOGDIR__/vault-sweep.log</string>
  <key>StandardErrorPath</key><string>__LOGDIR__/vault-sweep.log</string>
</dict></plist>
