com.example.transcription-pipeline.plist
1.3 KB42 lines
<?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"><!--Runs the pipeline whenever something lands in the inbox.Replace YOU with your macOS user name, copy to ~/Library/LaunchAgents/, then:launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.example.transcription-pipeline.plist--><plist version="1.0"><dict><key>Label</key><string>com.example.transcription-pipeline</string><key>ProgramArguments</key><array><string>/Users/YOU/transcription-pipeline/scheduling/run-inbox.sh</string></array><!-- Fire when the inbox folder changes. --><key>WatchPaths</key><array><string>/Users/YOU/Transcription/inbox</string></array><!-- At most one start every 30 s; a run already in progress holds a lock,and it keeps looping until the inbox has nothing ready. --><key>ThrottleInterval</key><integer>30</integer><!-- Low priority: transcription is heavy and never urgent. --><key>ProcessType</key><string>Background</string><key>LowPriorityIO</key><true/><key>Nice</key><integer>10</integer><key>StandardOutPath</key><string>/Users/YOU/Transcription/pipeline.log</string><key>StandardErrorPath</key><string>/Users/YOU/Transcription/pipeline.log</string></dict></plist>