launchd timed jobs
TIL about scheduling timed jobs on MacOS through
Each launchd job is described by a separate
plist file, meaning you can manage
launchd timed jobs by simply adding or removing a file. These files should be
placed in certain folders according to the goal of the job:
- System tasks go to:
if they need to run no matter if a user is logged in to the system or not. These tasks will be started with “root” privileges.
- If they need to run if any user is logged in, they go to:
and will be executed with the privileges of the user that just logged in.
- If they need to run if only you are logged in, they go to: