Skip to content

Instantly share code, notes, and snippets.

@chrishulbert
Created February 21, 2012 10:13
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save chrishulbert/1875617 to your computer and use it in GitHub Desktop.
Save chrishulbert/1875617 to your computer and use it in GitHub Desktop.
launchd example plist
<?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.mycompanyname.mydepartment.mytaskname</string>
<key>ProgramArguments</key>
<array>
<string>/Users/myuser/Dashboard/mytask.sh</string>
</array>
<key>StartInterval</key>
<integer>300</integer>
</dict>
</plist>
@tolsadus
Copy link

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment