CasJobs.cancelJob {SciServer}R Documentation

Cancel a Job.

Description

Cancels a job already submitted.

Usage

CasJobs.cancelJob(jobId)

Arguments

jobId

id of 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 CasJobs API returns an error.

Author(s)

Manuchehr Taghizadeh-Popp
Maintainer: Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>

References

http://www.sciserver.org
http://skyserver.sdss.org/casjobs
http://www.github.com/sciserver/SciScript-R

See Also

CasJobs.submitJob, CasJobs.waitForJob, CasJobs.getJobStatus.

Examples

## Not run: isCanceled = CasJobs.cancelJob(CasJobs.submitJob("select 1"))

[Package SciServer version 2.0.0 Index]