#launchd Usage
I have a bash script called foo.sh that takes one command line argument, bar. I want it to run every 60 seconds and load at startup.
- an XML
plistis Apple Property List com.mydomain.foo.plistName of launchd plist file should be a reverse fqdn, like (this may not be required, but convention)com.mydomain.foo.plistlives in$HOME/Library/LaunchAgentsand is ran as that user.com.mydomain.foo.plistcan also live/Library/LaunchDaemonsor/Library/LaunchAgents, have requirements, ran asroot- Load
plistwithlaunchctl load com.mydomain.foo.plist - Unload
plistwithlauchctl unload com.mydomain.foo.plist