Why my timer trigger is not running at the schedule time?

Anonymous
2022-02-21T00:47:12.117+00:00

I’ve a timer trigger that runs at 5 am UTC. When deploying through VSCode. The trigger is invoking at the correct time as per the Cron expression. But when deploy in Dev using terraform. It’s not running at the schedule time instead it is running when I open the function app to check the logs. Is there a specific reason behind this weird behaviour.

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

2 answers

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,481 Reputation points
    2022-02-24T12:35:59.67+00:00

    anonymous user ,

    Thanks for posting this question in the Microsoft Q&A forum.

    This appears to be a sync trigger issue. First, make sure you have enabled the "Always On" setting under the Configuration section. Since you have a working and non-working environment, try to compare the app settings of both the environment and make sure the dev function are identical to the working Function app.

    Also check the Diagnose and Solve problems blade. This section has a detector called "Function app down and reporting errors", run this detector to see if there are any problems with the Function app.

    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


  2. tobbin2 1 Reputation point
    2022-07-01T08:09:48.293+00:00

    Hello,
    i actually have the same issue. Looked into the always on button but it doesn't exist?

    Azure function > Configuration > General settings > ??

    0 comments No comments

Your answer

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