Skip to content

Commit dc38e9a

Browse files
committed
Update AZFD0015 documentation for clarity and accuracy; exclude diagnostic events from filename checks
1 parent 3ea4acb commit dc38e9a

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

articles/azure-functions/errors-diagnostics/diagnostic-events/azfd0015.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 02/10/2026
99

1010
# AZFD0015: Timer trigger schedule is not a CRON expression
1111

12-
This event occurs when a timer trigger is configured with a non-CRON schedule expression (such as a `TimeSpan`) on a Consumption plan where the scale controller only supports CRON expressions.
12+
This event occurs when the schedule for an Azure Functions Timer trigger running in a Consumption or Flex Consumption plan is configured with a non-CRON expression (such as a `TimeSpan`). For these hosting plans, the scale controller only supports CRON expressions.
1313

1414
| | Value |
1515
|-|-|
@@ -18,21 +18,21 @@ This event occurs when a timer trigger is configured with a non-CRON schedule ex
1818

1919
## Event description
2020

21-
Azure Functions timer triggers support both [CRON expressions][cron] and constant interval expressions (such as `TimeSpan` values like `"00:05:00"`). However, the scale controller used by Consumption plans only understands CRON expressions. When a non-CRON schedule is used on these plans, the timer trigger starts and fires correctly, but the scale controller can't interpret the schedule. This may lead to unexpected scaling behavior.
21+
Timer triggers support both [CRON expressions][cron] and constant interval expressions (such as `TimeSpan` values like `"00:05:00"`). However, the scale controller used by the Consumption and Flex Consumption plans can only interpret CRON expressions. When a non-CRON schedule is used when hosted on these plans, the timer trigger starts and fires correctly, but the scale controller can't interpret the schedule. This behavior can lead to unexpected scaling behavior.
2222

23-
This warning currently applies to Linux Consumption plans. On Windows Consumption and Flex Consumption plans, non-CRON expressions are blocked entirely and produce a startup error.
23+
This warning currently applies to Consumption plan apps running on Linux. For Consumption plan apps running on Windows and apps hosted in a Flex Consumption plan, non-CRON expressions are blocked entirely, which results in a startup error.
2424

2525
## How to resolve the event
2626

27-
Replace your timer trigger's schedule expression with an equivalent CRON expression. CRON expressions can use either 5 fields (minute granularity) or 6 fields (second granularity).
27+
Replace the schedule expression for your Timer trigger with an equivalent CRON expression. CRON expressions can use either five fields (minute granularity) or six fields (second granularity).
2828

2929
For example, instead of a `TimeSpan` of `"00:05:00"` (every 5 minutes), use the CRON expression `"0 */5 * * * *"` (6-digit) or `"*/5 * * * *"` (5-digit).
3030

31-
For more information on CRON expressions in Azure Functions, see [Timer trigger for Azure Functions][timer-trigger].
31+
For more information on CRON expressions in Azure Functions, see [NCRONTAB expressions][cron] in the Timer trigger reference.
3232

3333
## When to suppress the event
3434

35-
This event shouldn't be suppressed. While the timer fires correctly today, the scale controller can't interpret non-CRON schedules, which may result in scaling issues. Migrating to a CRON expression ensures correct behavior.
35+
This event shouldn't be suppressed. While the timer fires correctly today, the scale controller can't interpret non-CRON schedules, which can cause scaling issues. Migrating to a CRON expression ensures correct behavior.
3636

3737
[cron]: /azure/azure-functions/functions-bindings-timer#ncrontab-expressions
3838
[timer-trigger]: /azure/azure-functions/functions-bindings-timer

docfx.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1859,6 +1859,11 @@
18591859
"articles/site-recovery/**/*.md"
18601860
]
18611861
},
1862+
"filename-incomplete": {
1863+
"exclude": [
1864+
"articles/azure-functions/errors-diagnostics/**/*.md"
1865+
]
1866+
},
18621867
"sensitive-language-sl": {
18631868
"exclude": [
18641869
"articles/azure-netapp-files/azure-netapp-files-create-volumes.md",

0 commit comments

Comments
 (0)