Learn R Programming

FaaSr (version 1.4.4)

faasr_set_workflow_timer: faasr_set_workflow_timer

Description

set cron timer for workflow This function aggregates the set cron timer function for openwhisk, github actions and lambda This can be used as a cross-platform function

Usage

faasr_set_workflow_timer(cron, target = NULL, ...)

Value

return nothing / set the workflow timer

Arguments

cron

a string for cron data e.g., */5 * * * *

target

a string for specific function

...

a string for underlying functions

Examples

Run this code
if (interactive()){
test <- faasr("test.json", "env")
test$set_workflow_timer("*/5 * * * *")
}

Run the code above in your browser using DataLab