Trigger function fails to execute at set intervals
See original GitHub issueI have configured a NodeJS function to be triggered by a timer with the following CRON expression. The intention is for the function to be executed infinitely every 50 seconds.
*/50 * * * * *
However, I have noted that the trigger is not executed as expected. Here is the function execution log:
2016-06-30T19:34:52.109 Function completed (Success, Id=f1983e69-922c-47fd-b521-77f25fe7cad8)
2016-06-30T19:35:00.001 Function started (Id=98d3d465-2052-4413-a718-001e5c3679e3)
2016-06-30T19:35:00.111 Function completed (Success, Id=98d3d465-2052-4413-a718-001e5c3679e3)
2016-06-30T19:36:00.008 Function started (Id=8f1ab0b4-096e-4a10-9e39-4710a15974ac)
2016-06-30T19:36:00.102 Function completed (Success, Id=8f1ab0b4-096e-4a10-9e39-4710a15974ac)
2016-06-30T19:37:00.010 Function started (Id=329b400b-d6bf-468f-83a7-671b4724c052)
2016-06-30T19:37:00.088 Function completed (Success, Id=329b400b-d6bf-468f-83a7-671b4724c052)
2016-07-02T06:31:50.360 Function started (Id=dcb42d2b-6211-4f60-9339-8b7effa014de)
2016-07-02T06:32:08.065 Function completed (Success, Id=dcb42d2b-6211-4f60-9339-8b7effa014de)
2016-07-02T06:32:50.012 Function started (Id=7daff0ca-4237-40a5-abf6-1a105e97deac)
2016-07-02T06:32:50.121 Function completed (Success, Id=7daff0ca-4237-40a5-abf6-1a105e97deac)
2016-07-02T06:33:00.014 Function started (Id=72941597-1c6a-4f3e-89de-3d92c293c8d6)
2016-07-02T06:33:00.280 Function completed (Success, Id=72941597-1c6a-4f3e-89de-3d92c293c8d6)
2016-07-02T06:33:50.013 Function started (Id=7925044b-fcbe-4799-a404-6a1c451c8189)
2016-07-02T06:33:50.232 Function completed (Success, Id=7925044b-fcbe-4799-a404-6a1c451c8189)
2016-07-02T06:34:00.015 Function started (Id=85ab2f5f-881a-42da-b72e-05b57b73fba6)
2016-07-02T06:34:00.062 Function completed (Success, Id=85ab2f5f-881a-42da-b72e-05b57b73fba6)
2016-07-06T17:51:50.252 Function started (Id=c9ae8851-0636-4b7b-9d16-59e0db20f96d)
function.json
{
"bindings": [
{
"schedule": "*/50 * * * * *",
"name": "myTimer",
"type": "timerTrigger",
"direction": "in"
}
],
"disabled": false
}
Just wanted to ask for some help on diagnosing this issue.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Azure Function, Timer Trigger suddenly stops firing
I have set up a Function App on Azure under an App Service Plan (Premium functions - ae north). The function app misbehaves...
Read more >Is it possible to execute Azure function Timer trigger with ...
I want to execute Azure timer trigger with the sequential execution. Suppose i have C# Timer trigger with 5min interval. But function takes...
Read more >Timer function doesn't get triggered every hour · Issue #456
Hi, I have an Azure function which gets triggered every hour (normally it should ... Trigger function fails to execute at set intervals...
Read more >Azure function is not triggering on scheduled time #1534
Hello, adding few more info here: Our function app had two functions scheduled to run at 4.00 utc everyday. Yesterday, as a workaround...
Read more >setInterval() global function - Web APIs | MDN
The setInterval() function is commonly used to set a delay for functions that are executed again and again, such as animations. You can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That can happen if your App is in Classic mode and you don’t have Always On enabled.
@mathewc ok, thanks for the pointer. My function only has one trigger, the timer itself