Why my timer trigger function is not triggered when deploying my docker container?

Salma 0 Reputation points
2024-04-25T10:27:42.56+00:00

My time trigger function is not triggered when deploying it on Azure functions. I deploy it using docker container because I am using selenium. It run successfully on my local host and is triggered perfectly fine, but when deploying it on azure it doesn't work.

This is my function header:
User's image

and this is my function.json:User's image

and this is my local.settings.json and I remove it from the gitignore:

User's image

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pieter de Bruin 321 Reputation points Microsoft Employee
    2024-06-13T12:05:06.9466667+00:00

    Hi Salma,

    Sorry to hear about your experience.

    Can you share more details about your environment and steps to reproduce the issue?

    Additionally, I just created a new timer function, which seems to work fine. Maybe you can use this to troubleshoot yours?

    Source: https://github.com/pdebruin/functionspy/tree/main/8timer

    Hope this helps,

    Pieter


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.