run.JobBatch: Process some or all jobs available

Description Usage Arguments Value Author(s) See Also

Description

Process some or all jobs available.

Note that if a job is interrupted this method will detect that and return quietly. The rational for this is that it should always be possible to interrupt the job batch too, without having to kill the process.

Usage

1
2
## S3 method for class 'JobBatch'
run(this, maxJobs=-1, sleepTime=15, clean=FALSE, ..., verbose=FALSE)

Arguments

maxJobs

The maximum number of jobs to be processed. If -1, all jobs available will be processed. If Inf, it will run forever until a job is interrupted. When no more jobs are detected, it will recheck for new jobs every sleepTime seconds.

sleepTime

A double specifying the number of seconds for R to sleep before checking for new jobs.

...

Arguments passed to *getRunAndFinishJob().

Value

Returns (invisibly) a list of descriptions of jobs processed.

Author(s)

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

See Also

*getRunAndFinishJob(). For more information see JobBatch.


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