Fetch times for tasks at points in their life cycle. For each
task returns the time of submission, starting and completion (not
necessarily successfully; this includes errors and interruptions).
If a task has not reached a point yet (e.g., submitted but not
run, or running but not finished) the time will be NA
). Times
are returned in unix timestamp format in UTC; you can use
redux::redis_time_to_r to convert them to a POSIXt object.
rrq_task_times(task_ids, follow = NULL, controller = NULL)
A vector of task ids
Optional logical, indicating if we should follow any
redirects set up by doing rrq_task_retry. If not given, falls
back on the value passed into the controller, the global option
rrq.follow
, and finally TRUE
. Set to FALSE
if you want to
return information about the original task, even if it has been
subsequently retried.
The controller to use. If not given (or NULL
)
we'll use the controller registered with
rrq_default_controller_set()
.
A matrix of times, but we might change this to a data.frame at some point in the future.