Removing Jobs from the Queue
Stopping Jobs
Jobs in the queue in any state can be stopped and removed from the queue using the command qdel. For example, to remove a job with a PBS ID of 1234, you’d use the following:
qdel 1234
Jobs in the queue in a nonrunning state may be placed on hold using the qhold command. Jobs placed on hold will not be removed from the queue, but they will not be eligible for execution. For example, to move a currently queued job with a PBS ID of 1234 to a hold state, you’d use the following:
qhold 1234
Once on hold, the job will not be eligible to run until it is released to return to a queued state. The qrls command can be used to remove a job from the held state. For example, to release job 1234 from a held state, you’d use the following:
qrls 1234
