Add metadata for TimerTrigger Node
This commit is contained in:
Родитель
705847a7a4
Коммит
f5638ca3ea
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "TimerTrigger Nodejs Function",
|
||||
"name": "TimerTrigger - Node",
|
||||
"language": "JavaScript",
|
||||
"trigger": "TimerTrigger"
|
||||
"category": "Core"
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
# TimerTrigger - Node
|
||||
|
||||
The `TimerTrigger` makes it incredibly easy to have your functions executed on a schedule. This sample demostrates a simple use case of calling your function every 5 minutes.
|
||||
|
||||
## How it works
|
||||
|
||||
For a `TimerTrigger` to work, you provide a schedule in the form of a [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression)(See the link for full details). A cron expression is a string with 6 separate expressions which represent a given schedule via patterns. The pattern we use to represent every 5 minutes is `0 */5 * * * *`. This, in plain text, means: "When seconds is equal to 0, minutes is divisible by 5, for any hour, day of the month, month, day of the week, or year".
|
||||
|
||||
## Learn more
|
||||
|
||||
<TODO> Documentation
|
Загрузка…
Ссылка в новой задаче