Holding (jhold) and Releasing Jobs (jrls)
(Last update: Apr 15, 2024)
(Notice: jhold and jrls are usually not so useful.)
You can hold jobs which is submitted and is waiting for execution. You just need to give the ID of the job to jhold command. (You need to know the job ID beforehand using jobinfo command etc.) For example, if you want to hold waiting job 999000, you need to run the following command. (Don't type leading $.)
$ jhold 999000
If jhold succeeded to hold job(s), no message will be shown. The status of job should become "Hold" when you check with jobinfo command. If jhold failed, error message(s) should be displayed.
The held jobs can be released with "jrls" command. For example, if you want to release held job 999000, run the following command. (Don't type the first $.)
$ jrls 999000
This does not show any messages if it successfully released the job. The job status in jobinfo should be changed to "Run" or "Queue". If jrls failed to release job, the reason will be shown in the error message(s).