job jobRef cancel

Available for: Content Management Server, Template Engine

Task: Removes the specified job from the execution queue.

Additional information: The job’s queuePos parameter will be set to -1. The job currently beeing executed (queuePos = 0) can not be cancelled.

Syntax:

job (withName jobName) | (withId jobId) cancel

Function parameters: none.

Return value if successful: none.

Necessary permissions (CM only): The user must be a super user or the user with the execLogin login or have the permission specified as the value of the execPerm parameter.

Example:

CM>job withId 3099 cancel