.qbremove requests the Supervisor to remove a list of jobs.
qbremove [options] jobID… | 0
where JobID is one or more job IDs, and 0 is a wild card token representing all the user's jobs.
Remove failed jobs
Remove killed jobs
Remove complete jobs
Remove done (complete,killed,failed) jobs
Remove pending jobs (admin only)
Remove running jobs (admin only)
Remove active (running,pending,blocked) jobs (admin only)
Remove jobs for user string
--type string --prototype string
Remove jobs with string type
Remove jobs with string status (ex. pending)
Remove jobs with string name
Remove jobs of string kind
Remove jobs with process ID int
Remove jobs in int process group
Remove jobs with int priority
Remove jobs in string cluster
Remove jobs with a total of int subjobs
Output in XML format
This command only works on jobs which are considered complete, unless the use has the Qube 'admin' privilige, in which case the user could conceivably remove all jobs in queue.
For non-admin users, jobs which are still pending or running will be ignored. (ex. pending, running, blocked, suspended).
Remove job 12345:
% qbremove 12345
Remove all of user anthony's jobs:
% qbremove --user anthony 0