SkyQuery.cancelJob: Cancel a job

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/SkyQuery.r

Description

Cancels a job already submitted (more info in http://www.voservices.net/skyquery).

Usage

1

Arguments

jobId

the ID of the job (string), which is obtained at the moment of submitting the job.

Value

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.

Author(s)

Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>

References

http://www.sciserver.org
http://www.voservices.net/skyquery
http://www.github.com/sciserver/SciScript-R

See Also

SkyQuery.submitJob, SkyQuery.getJobStatus.

Examples

1
isCanceled = SkyQuery.cancelJob(SkyQuery.submitJob("select 1 as foo"))

sciserver/SciScript-R documentation built on May 29, 2019, 3:45 p.m.