Timed function sometimes doesn't fire

Anonymous
2022-08-07T18:19:11.583+00:00

I have a problem with one of my function apps where the timed function sometimes doesn't trigger. The trigger is configured using the cron trigger 0 */5 * * * * why I'm expecting this to fire every 5 minutes. It usually does but when inspecting the log (I have a log statement every time it fires) I can see that it sometimes skip one or more invocations. Then after 15-20 minutes it starts firing again where IsPastDue is set to true (which is also expected). I'm curious to find out why this is happening. Resuming the trigger isn't caused by me refreshing the app in the portal or anything like that. Can happen over night. The function app also contain another function which has a service bus topic trigger so I'm wondering if the timed trigger can stop triggering in case where there are not messages on the topic over a period of time.

Function app is consumption based and running on the v3 runtime. WEBSITE_TIME_ZONE is not specified. An example of the last successful invocation id is c3f53f7a-59f1-4bf3-a5a0-2b96005665b2 (at 2022-08-06T13:35:00.0062255Z). 5 minutes after that invocation the function doesn't trigger. The next trigger happens with invocation id e0f68aee-33c7-4bc8-9b72-78c7cdbb1a7f (at 2022-08-06T13:50:45.7666664Z). That's the one marked as IsPostDue.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,385 questions
{count} vote