| condor_rm {condor} | R Documentation |
Condor Remove
Description
Stop Condor jobs.
Usage
condor_rm(job.id = NULL, all = FALSE, top.dir = "condor",
session = NULL)
Arguments
job.id |
a vector of integers or directory names, indicating Condor jobs to stop. |
all |
whether to stop all Condor jobs owned by user. |
top.dir |
top directory on submitter machine that contains Condor run directories. |
session |
optional object of class |
Details
The top.dir argument only has an effect when job.id is a vector
of directory names. For example, condor_rm("01_this") will stop the
Condor job corresponding to directory condor/01_this on the submitter
machine.
The default value of session = NULL looks for a session object
in the user workspace. This allows the user to run Condor functions without
explicitly specifying the session.
Value
No return value, called for side effects.
Author(s)
Nan Yao and Arni Magnusson.
See Also
condor_submit, condor_q,
condor_dir, and condor_download provide the main Condor
interface.
condor_rm stops Condor jobs and condor_rmdir
removes directories on the submitter machine.
condor-package gives an overview of the package.
Examples
## Not run:
# General workflow
session <- ssh_connect("servername")
condor_submit()
condor_q()
condor_dir()
condor_download() # after job has finished
# Stop one or multiple jobs
condor_rm(123456) # stop one job (integer)
condor_rm(c(123456, 123789)) # stop two jobs (integers)
condor_rm("01_this") # stop one job (dirname)
condor_rm(c("01_this", "02_that")) # stop two jobs (dirnames)
condor_rm(all=TRUE) # stop all jobs
## End(Not run)