CasJobs.cancelJob {SciServer} | R Documentation |
Cancels a job already submitted.
CasJobs.cancelJob(jobId)
jobId |
id of the job |
Returns TRUE if the job was canceled successfully. Throws an exception if the user is not logged into SciServer (use Authentication.login
for that purpose). Throws an exception if the HTTP request to the CasJobs API returns an error.
Manuchehr Taghizadeh-Popp
Maintainer: Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>
http://www.sciserver.org
http://skyserver.sdss.org/casjobs
http://www.github.com/sciserver/SciScript-R
CasJobs.submitJob
, CasJobs.waitForJob
, CasJobs.getJobStatus
.
## Not run: isCanceled = CasJobs.cancelJob(CasJobs.submitJob("select 1"))