faasr_set_workflow_timer: faasr_set_workflow_timer

View source: R/faasr_client_tools.R

faasr_set_workflow_timerR Documentation

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, ...)

Arguments

cron

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

target

a string for specific function

...

a string for underlying functions

Value

return nothing / set the workflow timer

Examples

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

FaaSr documentation built on June 22, 2024, 9:38 a.m.