Removes the job with the given label from the specified domain.
- macOS 10.6–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The job's domain (e.g.
SMDomain System Launchd
The label for the job to remove.
Pass true to block until the process for the given job has exited.
An output reference to a CFErrorRef describing the specific error encountered while submitting the job dictionary, or NULL if no error occurred. It is the responsibility of the application to release the error reference. This argument may be NULL.
true if the job was removed successfully, otherwise false.
SMJobSubmit removes the job specified by label from the domain. If the job is currently running, it will conditionally block until the running process has exited.