rerunUploadJob: Rerun an upload job, after some external error condition has...

Description Usage Arguments Details Value Note Author(s) See Also

Description

Rerun an upload job, after some external error condition has been fixed.

Usage

1

Arguments

j

the job, as an integer scalar job number. This can be a top-level job, or one of its sub-jobs; in the latter case, the top-level job is used anyway. The top-level job must be of type "uploadFile", otherwise this function throws an error.

Details

First, this removes all traces of the original upload job, both from the job database, and the filesystem:

Then, a new hardlink to the original uploaded file is created in /sgm/uploads. The original uploaded file is recorded in j$filename, or as sj$file where sj is a subjob of j with type "unpackArchive").

This will cause the uploadServer to re-queue the originally-uploaded file.

Value

TRUE if the job was found, of the correct type and resubmitted to the uploadServer; FALSE otherwise.

Note

this function does not revert any changes to receiver databases affected by the original processing of the uploaded file.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm

See Also

processServer


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