use the launchctl commands Introduction Mac OS X provides a rich set of mechanisms for running code in the background—tasks that execute independently of a user’s active session. Whether you are building a daemon that starts at boot, a login item that launches when a user signs in, or a cron-like scheduled job, Apple’s frameworks






