Jobs.waitForJob: Wait for job status.

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

View source: R/Jobs.r

Description

Queries regularly the job status and waits until the job is completed.

Usage

1
Jobs.waitForJob(jobId, verbose=TRUE, pollTime = 5)

Arguments

jobId

id of job (integer).

verbose

if TRUE, will print "wait" messages on the screen while the job is still running. If FALSE, will suppress the printing of messages on the screen.

pollTime

idle time interval (integer, in seconds) before querying again for the job status. Minimum value allowed is 5 seconds.

Value

Returns a list object containing the job definition after the job is finished.

Author(s)

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

References

http://www.sciserver.org
http://apps.sciserver.org
http://www.github.com/sciserver/SciScript-R

See Also

Jobs.submitShellCommandJob,Jobs.getJobStatus,Jobs.getDockerComputeDomains

Examples

1

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