|
há 3 meses atrás | |
---|---|---|
.. | ||
CosmosDBTriggers | há 3 meses atrás | |
JsonFile | há 3 meses atrás | |
Lang | há 8 meses atrás | |
Properties | há 11 meses atrás | |
Services | há 3 meses atrás | |
.gitignore | há 11 meses atrás | |
IESCosmosDBTrigger.cs | há 10 meses atrás | |
IESHttpTrigger.cs | há 6 meses atrás | |
IESServiceBusTrigger.cs | há 5 meses atrás | |
IESTimerTrigger.cs | há 3 meses atrás | |
Program.cs | há 3 meses atrás | |
TEAMModelOS.Function.csproj | há 3 meses atrás | |
host.json | há 11 meses atrás | |
readme.md | há 11 meses atrás |
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