Description Usage Arguments Value See Also Examples
View source: R/mantaJob.done.R
Checks or polls status of a Manta job. Returns done or not as logical.
1 2 | mantaJob.done(jobid, poll = FALSE, sleep = 30, timeout = 600,
silent = FALSE)
|
jobid |
character optional. Manta job identifier
such as |
poll |
logical. Set to |
sleep |
integer. Sleep interval used when polling. Default is 30 seconds. |
timeout |
integer. Seconds after which function stops polling. Default is 600 seconds. |
silent |
logical required. Set to |
TRUE
when job is no longer running.
FALSE
when job running.
NULL
if job status not
found.
N.B. TRUE
return does not imply job
success/failure/errors, only running/done state.
Other mantaJobs: mantaJob.cancel
;
mantaJob.errors.stderr
;
mantaJob.errors
;
mantaJob.failures
;
mantaJob.inputs
;
mantaJob.launch
;
mantaJob.outputs.cat
;
mantaJob.outputs
;
mantaJob.setup
;
mantaJob.status
;
mantaJobs.running
;
mantaJobs.tail
; mantaJobs
;
mantaMap
; mantaReduce
1 2 3 4 5 6 7 | ## Not run:
## Test if last run job is done
mantaJob.done()
## Poll a running job till done or timed out.
mantaJob.done(poll = TRUE, sleep = 10, timeout = 60)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.