How to Delete a Job Submitted to PBS
Code
Jobs submitted to PBS can be deleted with the following command.
qdel {job_id}
If you want to delete multiple jobs, separate them with spaces.
qdel {job_id_1} {job_id_2} {job_id_3}
You can also automate deleting many jobs by using a loop, but if the job IDs are consecutive you can delete them more simply as follows. For example, to delete jobs from 123 through 154, run the following command.
(base) [user ~]$ qdel {123..154}.freshrimp
