I have created an azure function in my trial version and I had set the time trigger to be 0 0 * * * * but is is running much more frequently than intended

vihari kandian 0 Reputation points
2024-07-18T09:01:34.77+00:00

User's image

Invocations shows, that the function was called for approx every 3 minutes, How do I resolve this?

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

3 answers

Sort by: Most helpful
  1. Deepanshukatara-6769 8,560 Reputation points
    2024-07-18T09:20:57.92+00:00

    Hi

    Update the Schedule value to 0 0 */1 * * *, and then select Save. then it should trigger on hourly basis

    Ref

    https://video2.skills-academy.com/azure/azure-functions/functions-create-scheduled-function

    Kindly check and let us know if any further questions

    Please accept answer if it helps

    Thanks

    Deepanshu


  2. vihari kandian 0 Reputation points
    2024-07-18T12:32:11.2233333+00:00

    User's image

    changed the run_on_startup to False and it's working fine, trying to understand why


  3. Deepanshukatara-6769 8,560 Reputation points
    2024-07-18T13:16:13.6866667+00:00

    Hi Vihari, Thanks for your response , please find the below solution

    Issue: azure function had set the time trigger to be 0 0 * * * * but is is running much more frequently than intended

    Solution: changed the run_on_startup to False

    User's image

    Hence it was an authorization issue

    Kindly accept

    Thanks

    Deepanshu

    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.