LaunchDaemon which runs /usr/local/bin/autopkg-conductor.sh at 2:00 AM every night.
<?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>AbandonProcessGroup</key> | |
<true/> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string> | |
</dict> | |
<key>Label</key> | |
<string>com.github.autopkg-nightly-run</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/autopkg-conductor.sh</string> | |
</array> | |
<key>RunAtLoad</key> | |
<false/> | |
<key>StartCalendarInterval</key> | |
<array> | |
<dict> | |
<key>Hour</key> | |
<integer>2</integer> | |
<key>Minute</key> | |
<integer>0</integer> | |
</dict> | |
</array> | |
<key>UserName</key> | |
<string>autopkg</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment