jobFail: mark a job as failed

Description Usage Arguments Value Author(s)

View source: R/jobFail.R

Description

record an error message for the job, mark it with done=-1, and move its folder to MOTUS_PATH$ERRORS

Usage

1
jobFail(j, msg, code = -1)

Arguments

j

the job

msg

message to add to job's log

code;

the value to store in "done"; should be non-zero and defaults to -1.

Value

no return value

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.