Azure timmer trigger function trigger twice just for sometime

Ketan Patil 21 Reputation points
2021-02-28T19:33:58.65+00:00

Azure trimmer trigger function trigger twice and it creates duplicate entry into service bus queue the main challenge is this happen just for sometime

corn expression : 0/30 * 12-13 * * *

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
594 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,679 questions
{count} votes

2 answers

Sort by: Most helpful
  1. MayankBargali-MSFT 70,016 Reputation points
    2021-03-01T05:12:41.217+00:00

    Hi @YogeshVEDPATHAK-7786

    If you have enabled the application insights. Can you navigate to your function app timmer trigger --> Monitor (under Developer) --> Invocations and verify if you see the function was triggered multiple times for the same timeframe when you observed this behavior?


  2. Nasreen Akter 10,791 Reputation points
    2021-03-01T13:14:27.37+00:00

    Hi @YogeshVEDPATHAK-7786,

    Cron Expression should have 6 parts. Would you please change the Cron Expression e.g., 0 0/30 12-13 * * * or 0 0 0/30 12-13 * * (not sure what's your requirement). Please check the link below:

    https://arminreiter.com/2017/02/azure-functions-time-trigger-cron-cheat-sheet/


    If the above response is helpful, please accept as answer and up-vote it. Thanks!

    0 comments No comments