Created
March 15, 2016 20:44
-
-
Save mercul3s/942dd3b8b4ea25c0d90b to your computer and use it in GitHub Desktop.
plist for exercise.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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