All Products
Search
Document Center

Function Compute:TimerTriggerConfig

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The configurations of the time trigger.

cronExpressionstring

The trigger period expression. You can specify to trigger based on a time interval. For example, the expression @every 4m indicates that the triggering is performed every four minutes. You can also specify to trigger based on a cron expression, for example, 0 0 4 * * *.

0 0 4 * * *
enableboolean

Specify whether to enable the trigger.

true
payloadstring

Enter custom parameters. The trigger message is used as the value of the payload in the event.

{"workflowInstanceId":"39639"}