Launch daemons can run without a user logged in. Launch daemons cannot display information using the GUI.
Launch daemon configuration plist files are stored in the /Library/LaunchDaemons
Launch agents can display information through the window server. As with launch daemons,
launch agent configuration plist files are stored in the /Library/LaunchAgents
User launch agents are installed in the ~/Library/LaunchAgents
Example for a Launch Daemon:
Create a launchd plist with this Website and save this file in /Library/LaunchDaemons
Check the preference file with:
plutil -lint /Library/LaunchDaemons/com.mycompany.mylaunchd.plist
Load the preference file:
launchctl load /Library/LaunchDaemons/com.mycompany.mylaunchd.plist
Close this help..