Closed cyky closed 6 years ago
We have a troubleshooting guide for investigating and reporting issues with timer triggered functions not firing. Would you mind taking a look at it and sharing the details mentioned in "Reporting your issue" section?
Here you go @mhoeger
@cyky thank you :) i'll look into this. Just to clarify - by Kudu Rest zip deployment you mean /api/zipdeploy
and NOT /api/zip
. Is that right?
Yeah I mean the api/zipdeploy
. I can get another invocation id for you tomorrow if that helps.
Closing this issue as I think that I've found the cause from our app config. Missing logs from these functions seem to be unrelated problem.
Daily Time Triggers sleeping
We are having problems with time trigger functions that should execute once a day. Scheduling works fine if the trigger is set to every 5 minutes or 30 minutes, but when the trigger is set to once a day (eg. "0 0 0 *") the functions never wake up and execute their tasks.
Our functions project is using the class lib style project structure and is running on dotnet core 2.0. Schedule has been defined in the function specific function.json file. Project is using Microsoft.NET.Sdk.Functions version 1.0.13 and the functions are running on the latest beta v2 version (West Europe).
Function app version: 2.0.11888.0 (beta) Region: West Europe App service plan: Consumption Invocation ID: d97e01ca-775a-453d-a388-d83beb553a07 Timestamp: 2018-06-29T09:13:59.497
Repro
Expected results
Function should execute at midnight UTC time.
Actual behavior
Function never executes if the trigger is too far apart.
Related issues
Somewhat similar: https://github.com/Azure/azure-functions-host/issues/2825