loadJobs: Load and maybe enqueue unfinished jobs from the server...

Description Usage Arguments Details Value Author(s)

Description

A global object Jobs is created, which manages jobs. It is populated from the "jobs" table in the server database.

Usage

1

Arguments

which

character scalar or integer scalar, which will be converted to a character scalar. Load only jobs whose top job is in that queue. If NULL (the default), do not actually load or queue any jobs.

Details

It has these fixed fields:

Other job items are stored in a JSON-encoded text field called data.

For any jobs to be loaded we verify that the "path" field is correct, in case the server was interrupted while moving a job.

Value

the number of jobs enqueued in the new global MOTUS_QUEUE. The Jobs are stored in the global Jobs.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.