cancel_job() function

Cancel a job and set the status of the subsequent jobs to ABANDONED.

This function cancels the specified job and sets the status of any subsequent jobs to ABANDONED.

Parameters:

Name Type Description Default
job Job

The job to cancel.

required