ATRUN(8) | System Manager's Manual | ATRUN(8) |
atrun
— run jobs
queued for later execution
atrun |
[-l load_avg]
[-d ] |
The atrun
utility runs commands queued by
at(1). It is invoked periodically by
launchd(8) as specified in the
com.apple.atrun.plist property list. By default the
property list contains the
Disabled
key set to true, so atrun
is never invoked.
Execute the following command as root to enable
atrun
:
launchctl load -w
/System/Library/LaunchDaemons/com.apple.atrun.plist
At every invocation, atrun
starts all the
jobs in the lowercase queues whose start time has elapsed. In addition, if
the load average over the last minute was less than the specified limit,
then a maximum of one batch job (denoted by the uppercase queues) is
started.
Before starting a job, atrun
checks the
status of its owner's account with pam(3) and refuses to
run the job if the account is unavailable, e.g., locked out or expired.
atrun
Thomas Koenig ⟨ig25@rz.uni-karlsruhe.de⟩
March 9, 2008 | macOS |