launchd

noun

say it: “LAWNCH-dee” /ˈlɔntʃdi/

The Mac's own program for starting and scheduling background jobs, each described in a small settings file.

What is launchd?

launchd is the Mac's own scheduler and starter of background programs. Instead of a crontab line, each job is a small settings file (a .plist) in ~/Library/LaunchAgents, loaded with launchctl. A Mac still runs cron too, so a crontab works there for simple jobs.

ls ~/Library/LaunchAgents      # your own jobs' .plist files
launchctl list | head -n 5     # jobs launchd has loaded

In a sentence

  • “On her Mac, Sam's scheduled backup could be a launchd job instead of a crontab line.”
  • “launchd reads the .plist files in ~/Library/LaunchAgents.”

Level: Freelancer · More Operating System terms at this level

Updated