Description Usage Arguments Value Author(s) References See Also Examples
Cancels a job already submitted.
1 | 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
.
1 | ## Not run: isCanceled = CasJobs.cancelJob(CasJobs.submitJob("select 1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.