Command reference
ed launchd ls
ed launchd ls [--failing] [--orphans] [--group yours|apps|system|cron|orphans] [--json]Reads the LaunchAgents and LaunchDaemons folders, launchctl list, your crontab and, when Homebrew is installed, brew services list, then prints every job with its group, state, schedule and vendor. --failing keeps jobs whose last exit code was not zero and that are not running. --orphans keeps jobs whose program no longer exists. Does not change anything. JSON output is an array of jobs with label, source, group, vendor, program, arguments, schedule, plist, stdout, stderr, orphaned, failing, changeable and state (loaded, running, pid, lastExit, disabled).