View source: R/clusterFunctionsHelpers.R
cfKillBatchJob | R Documentation |
This function is only intended for use in your own cluster functions implementation.
Calls the OS command to kill a job via system
like this: “cmd batch.job.id”.
If the command returns an exit code > 0, the command is repeated
after a 1 second sleep max.tries-1
times.
If the command failed in all tries, an exception is generated.
cfKillBatchJob(cmd, batch.job.id, max.tries = 3L)
cmd |
[ |
batch.job.id |
[ |
max.tries |
[ |
Nothing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.