Kill jobs
bkill(job_id, filter = NULL)
A vector of job IDs or a data frame returned by bjobs()
.
Regular expression on job names (only the running and pending jobs). It is
only used when job_id
is not set.
# \dontrun{
job_id = c(10000000, 10000001, 10000002) # job ids can be get from `bjobs()`
bkill(job_id)
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
# kill all jobs (running and pending) of which the names contain "example"
bkill(filter = "example")
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
# }