Files
dotfiles/launchd/Library/LaunchAgents/com.powellc.claude-save.plist

36 lines
933 B
Plaintext
Raw Normal View History

<?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">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.powellc.claude-save</string>
<!-- sh expands $HOME; launchd does not expand ~ in ProgramArguments -->
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>-c</string>
<string>make -C "$HOME/.dotfiles" claude-save</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</dict>
<key>StartInterval</key>
<integer>1800</integer>
<key>RunAtLoad</key>
<true/>
<key>StandardOutPath</key>
<string>/tmp/claude-save.out</string>
<key>StandardErrorPath</key>
<string>/tmp/claude-save.err</string>
</dict>
</plist>