Subchapter 21.136
references/services/functions/templates/recipes/timer/README.mdMarkdown1 KBView on GitHub
Resource filter: timer
Discover templates via MCP or CDN manifest where resource == "timer" and language matches user request.
Some templates define the schedule via an app setting reference %TIMER_SCHEDULE% so the cron expression is configurable without code changes. Set the TIMER_SCHEDULE app setting to the desired expression.
| Schedule | Expression |
|---|---|
| Every 5 minutes | 0 */5 * * * * |
| Every hour | 0 0 * * * * |
| Every day at midnight | 0 0 0 * * * |
| Every Monday at 9am | 0 0 9 * * 1 |
| Every 30 seconds | */30 * * * * * |
Azure uses 6-part cron expressions (with seconds). See Azure Functions timer trigger (opens in a new tab) for full syntax reference.
Cause: Invalid cron expression or function app not running.
Solution: Verify cron syntax; check function app is started and healthy.
Cause: Multiple instances running the same timer.
Solution: Timer triggers use Storage lease to ensure single execution. Verify AzureWebJobsStorage is configured.
| Path | Description |
|---|---|
| eval/summary.md | Evaluation summary |
| eval/python.md | Python evaluation results |