Azure Function App - Timer Trigger not fired

Admin Stabe, Nicole 0 Reputation points
2023-10-30T21:08:27.2666667+00:00

Hello,

although everthing was working already fine, somehow after deploying the app via Visual Studio to another Azure function app, it is not fired anymore. Manually it can be called sucessfully by POST call and locally executed by Azure Cli it works fine.

Sync POST call did not help, so here are all requested information for further investigation on your site:

  1. Using App Service Plan
  2. Always On is enabled
  3. Using the v1 runtime
  4. No setting of WEBSITE_TIME_ZONE
  5. CRON expression: 0 * * * * * - I expect it to fire every minute.
  6. Azure Function App: lego-app-edm-xltn.azurewebsites.net

Thank you in advance,

Nicole

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,673 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 63,426 Reputation points
    2023-10-31T10:49:31.2266667+00:00

    @Admin Stabe, Nicole Thanks for reaching out.

    As you are scheduling your function app to run every minute and in case if your function app takes more than 1 minute to get the execution completed then the next execution would be missed.

    It uses the history to "catch up" on missed schedule executions, if for some reason an occurrence was missed. You can disable that behavior if you wish by setting UseMonitor = false on your TimerTrigger attribute.

    For more details on investigating the timer triggered functions not firing you can refer to this documement.

    To understand more about how the timer trigger works please refer to this document.

    In case if the above document didn't help then you can also refer to Diagnose and solve problems blade on your function app to know more details why the timer trigger didn't fire.

    Feel free to get back to me if you need any assistance.

    Please "Accept Answer" if the answer is helpful so that it can help others in the community.

    0 comments No comments