Learn R Programming

bsub (version 1.1.0)

bkill: Kill jobs

Description

Kill jobs

Usage

bkill(job_id, filter = NULL)

Arguments

job_id

A vector of job ids.

filter

Regular expression to filter on job names (only the running and pending jobs).

Value

No value is returned.

Examples

Run this code
# NOT RUN {
job_id = c(10000000, 10000001, 10000002)  # job ids can be get from `bjobs`
bkill(job_id)
# kill all jobs (running and pending) of which the names contain "example"
bkill(filter = "example") 
# }

Run the code above in your browser using DataLab