getRunAndFinishJob.JobBatch: Gets an non-locked job, process it and moves it to a final...

Description Usage Arguments Value Author(s) See Also

Description

Gets an non-locked job, process it and moves it to a final destination.

Usage

1
2
## S3 method for class 'JobBatch'
getRunAndFinishJob(this, sink=TRUE, reset=FALSE, clean=FALSE, verbose=FALSE, .cleanup=NULL, ...)

Arguments

reset

If TRUE, the job is reset before processed.

sink

If TRUE, all output is sinked to a file, otherwise not.

verbose

If TRUE, extra information is displayed. The created Job object gets this verbose level too.

.cleanup

A function to be called after running job. For internal use only.

...

Passed to *getNextJob().

Value

Returns the Job object that was processed. If no unlocked job was available, NULL was returned.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*run(). For more information see JobBatch.


R.batch documentation built on May 2, 2019, 4:58 p.m.