Description Usage Arguments Value Author(s) References See Also Examples
Cancels a job already submitted (more info in http://www.voservices.net/skyquery).
1 | SkyQuery.cancelJob(jobId)
|
jobId |
the ID of the job (string), which is obtained at the moment of submitting 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 SkyQuery API returns an error.
Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>
http://www.sciserver.org
http://www.voservices.net/skyquery
http://www.github.com/sciserver/SciScript-R
SkyQuery.submitJob
, SkyQuery.getJobStatus
.
1 | isCanceled = SkyQuery.cancelJob(SkyQuery.submitJob("select 1 as foo"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.