Skip to content

Instantly share code, notes, and snippets.

@mercul3s
Created March 15, 2016 20:44
Show Gist options
  • Save mercul3s/942dd3b8b4ea25c0d90b to your computer and use it in GitHub Desktop.
Save mercul3s/942dd3b8b4ea25c0d90b to your computer and use it in GitHub Desktop.
plist for exercise.sh
<!--
To use this plist file, edit the string (name), and save it to ~/Library/LaunchAgents.
Make sure the file is owned by root. To start the plist, enter the following commands:
sudo launchctl load com.mercmotivator.cron.plist
And you're done! The plist will now run autmatically every 30 minutes, unless you decide
to change the time interval.
-->
<?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.mercmotivator.cron</string>
<key>ProgramArguments</key>
<array>
<string>/Users/mercedes/dev/scripts/voices.sh</string>
</array>
<key>Nice</key>
<integer>1</integer>
<key>StartInterval</key>
<integer>1800</integer>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/tmp/AlTest1.err</string>
<key>StandardOutPath</key>
<string>/tmp/AlTest1.out</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment