task_add: Add a task to TaskList

Description Usage Arguments Value

View source: R/tasks.R

Description

Add a task to our Tasks structure

Usage

1
task_add(TaskList, schedule, FUN, args, method = "fork")

Arguments

TaskList

An existing list to add tasks to

schedule

A shorthand period to recurrently run this task

FUN

The function to run

args

Optional arguments to FUN

method

Whether to run in the parent process or in a parallel R process

Value

The updated TaskList list


henfiber/later documentation built on May 20, 2019, 6:46 p.m.