|
11 tháng trước cách đây | |
---|---|---|
.. | ||
CosmosDBTriggers | 11 tháng trước cách đây | |
DI | 11 tháng trước cách đây | |
Lang | 11 tháng trước cách đây | |
Properties | 11 tháng trước cách đây | |
.gitignore | 11 tháng trước cách đây | |
IESCosmosDBTrigger.cs | 11 tháng trước cách đây | |
IESHttpTrigger.cs | 11 tháng trước cách đây | |
IESServiceBusTrigger.cs | 11 tháng trước cách đây | |
IESTimerTrigger.cs | 11 tháng trước cách đây | |
Program.cs | 11 tháng trước cách đây | |
TEAMModelOS.Function.csproj | 11 tháng trước cách đây | |
host.json | 11 tháng trước cách đây | |
readme.md | 11 tháng trước cách đây |
The TimerTrigger
makes it incredibly easy to have your functions executed on a schedule. This sample demonstrates a simple use case of calling your function every 5 minutes.
For a TimerTrigger
to work, you provide a schedule in the form of a 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".
Documentation