You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/errors-diagnostics/diagnostic-events/azfd0015.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.date: 02/10/2026
9
9
10
10
# AZFD0015: Timer trigger schedule is not a CRON expression
11
11
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.
13
13
14
14
|| Value |
15
15
|-|-|
@@ -18,21 +18,21 @@ This event occurs when a timer trigger is configured with a non-CRON schedule ex
18
18
19
19
## Event description
20
20
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.
22
22
23
-
This warning currently applies to LinuxConsumption 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.
24
24
25
25
## How to resolve the event
26
26
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).
28
28
29
29
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).
30
30
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.
32
32
33
33
## When to suppress the event
34
34
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.
0 commit comments