killJobs {batchtools} | R Documentation |
Kill Jobs
Description
Kill jobs which are currently running on the batch system.
In case of an error when killing, the function tries - after a short sleep - to kill the remaining batch jobs again. If this fails three times for some jobs, the function gives up. Jobs that could be successfully killed are reset in the Registry.
Usage
killJobs(ids = NULL, reg = getDefaultRegistry())
Arguments
ids |
[ |
reg |
[ |
Value
[data.table
] with columns “job.id”, the corresponding “batch.id” and
the logical flag “killed” indicating success.
See Also
Other debug:
getErrorMessages()
,
getStatus()
,
grepLogs()
,
resetJobs()
,
showLog()
,
testJob()