SkyQuery.waitForJob: Wait for finished job.

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

View source: R/SkyQuery.r

Description

Queries the job status from SkyQuery every 2 seconds and waits for the SkyQuery job to be completed.

Usage

1
SkyQuery.waitForJob(jobId, verbose=TRUE)

Arguments

jobId

id of job (string).

verbose

message printing option.

If TRUE, will print "wait" messages on the screen while the job is not done. If FALSE, will suppress printing messages on the screen.

Value

Returns a list containing the job status and related metadata. 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
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

SkyQuery.submitJob, SkyQuery.getJobStatus.

Examples

1

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