Sometimes TimerTrigger function triggers a bit earlier

Aliaksandr Vaniuk (Contractor) 81 Reputation points

I have the TimerTrigger function with the CRON 0 * * * * *, according to documentation this function should be triggered every minutes at 00 seconds, for example 7:06:00.
But occasionally it is fired a bit earlier, for example 07:05:59.


Does anyone know why this happens?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,662 questions
0 comments No comments
{count} votes

Accepted answer
  1. Samara Soucy - MSFT 5,051 Reputation points

    Similar question here:

    Timer Functions aren't guaranteed to be perfect in their timing- in this particular case there appears to be a few milliseconds of drift between firing and logging. Likely if you were to check the other invocations details would show they were first a few milliseconds after the minute. You can mitigate this some by using a dedicated VM so you can control how the timer is fired, but it is unlikely that you will eliminate this completely.

    0 comments No comments

0 additional answers

Sort by: Most helpful