55 lines
1.6 KiB
Text
55 lines
1.6 KiB
Text
<?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">
|
|
<!--
|
|
launchd job for weekly ms-ai-architect KB-update.
|
|
Placeholders ({{NODE_BIN}}, {{PLUGIN_ROOT}}, {{LOG_FILE}}, {{SCHEDULE_HOUR}},
|
|
{{SCHEDULE_MINUTE}}, {{SCHEDULE_DAY_OF_WEEK}}) are filled in by
|
|
scripts/install-kb-cron.mjs at install-time.
|
|
|
|
RunAtLoad is intentionally false so loading the job at boot does not
|
|
immediately spawn a Claude Code session. Weekday=3 is Wednesday in
|
|
launchd's StartCalendarInterval semantics.
|
|
-->
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>Label</key>
|
|
<string>com.fromaitochitta.ms-ai-architect.kb-update</string>
|
|
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>{{NODE_BIN}}</string>
|
|
<string>{{PLUGIN_ROOT}}/scripts/kb-update/weekly-kb-cron.mjs</string>
|
|
</array>
|
|
|
|
<key>WorkingDirectory</key>
|
|
<string>{{PLUGIN_ROOT}}</string>
|
|
|
|
<key>StartCalendarInterval</key>
|
|
<dict>
|
|
<key>Weekday</key>
|
|
<integer>{{SCHEDULE_DAY_OF_WEEK}}</integer>
|
|
<key>Hour</key>
|
|
<integer>{{SCHEDULE_HOUR}}</integer>
|
|
<key>Minute</key>
|
|
<integer>{{SCHEDULE_MINUTE}}</integer>
|
|
</dict>
|
|
|
|
<key>RunAtLoad</key>
|
|
<false/>
|
|
|
|
<key>StandardOutPath</key>
|
|
<string>{{LOG_FILE}}</string>
|
|
|
|
<key>StandardErrorPath</key>
|
|
<string>{{LOG_FILE}}</string>
|
|
|
|
<key>EnvironmentVariables</key>
|
|
<dict>
|
|
<key>PATH</key>
|
|
<string>/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
|
</dict>
|
|
|
|
<key>ProcessType</key>
|
|
<string>Background</string>
|
|
</dict>
|
|
</plist>
|