Skip to content

Running at startup: when to use a Login Item or a LaunchAgent/LaunchDaemon — by Howard Oakley (Eclectic Light Company)

intermediatepageLink only (©)

Compares Login Items with LaunchAgents and LaunchDaemons: global ones in /Library load before any user logs in, per-user ones after login, and daemons have no window server access. The author favours launchd for background services and Login Items for apps with a UI.

Read the full article on eclecticlight.co

Source: Running at startup: when to use a Login Item or a LaunchAgent/LaunchDaemon by Howard Oakley (Eclectic Light Company). Licence: Link only (©).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

launchdlaunchdaemonlogin itemsmacos

More in Scheduling (Task Scheduler, launchd, cron)

Run bash (.sh) via launchd using a plist in /Library/LaunchAgents — by VikingOSX and etresoft on Apple Community

intermediateforum

VikingOSX shows a working LaunchAgent for a shell script: plist in ~/Library/LaunchAgents with 644 permissions, Label, RunAtLoad, StartInterval and full paths only. The original poster got theirs working after moving the script out of ~/Documents, and etresoft points to privacy permissions instead, noting shell scripts silently fail without Full Disk Access.