bkill: Kill jobs

Description Usage Arguments Value Examples

View source: R/monitor.R

Description

Kill jobs

Usage

1
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

1
2
3
4
5
6
7
## 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") 

## End(Not run)

bsub documentation built on July 1, 2021, 5:07 p.m.