Azure Function not called by timer

Onur 115 Reputation points
2023-12-29T23:56:53.8366667+00:00

I publish a Azure Function. Timezone is setted. Timer value is correct. Restarted after publishing and triggers are sync.

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

Answer accepted by question author
  1. MuthuKumaranMurugaachari-MSFT 22,446 Reputation points Moderator
    2024-01-02T22:07:50.6133333+00:00

    Onur WEBSITE_TIME_ZONE and TZ are not currently supported when running on Linux in a Consumption plan as described in NCRONTAB time zones. You can change it to either Premium or dedicated plan for setting time zone or keep it with default UTC time zone as you already have.

    User's image


    If you found the answer to your question helpful, please take a moment to mark it as Yes for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Dillon Silzer 60,701 Reputation points Volunteer Moderator
    2023-12-30T04:57:48.7566667+00:00

    Hi Onur,

    Please see the following:

    When you change any of your triggers, the Functions infrastructure must be aware of the changes. Synchronization happens automatically for many deployment technologies. However, in some cases, you must manually sync your triggers. When you deploy your updates by referencing an external package URL, local Git, cloud sync, or FTP, you must manually sync your triggers. You can sync triggers in one of three ways:

    • Restart your function app in the Azure portal.
    • Send an HTTP POST request to https://{functionappname}.azurewebsites.net/admin/host/synctriggers?code=<API_KEY> using the master key.
    • Send an HTTP POST request to https://management.azure.com/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP_NAME>/providers/Microsoft.Web/sites/<FUNCTION_APP_NAME>/syncfunctiontriggers?api-version=2016-08-01. Replace the placeholders with your subscription ID, resource group name, and the name of your function app. This request requires an access token in the Authorization request header.

    When you deploy using an external package URL, you need to manually restart your function app to fully sync your updates when the package changes without changing the URL.

    Trigger syncing

    https://learn.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies?tabs=linux#trigger-syncing


    If this is helpful please accept answer.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.