Complex scheduler in Azure

Baharul Islam 216 Reputation points
2022-04-01T06:30:00.04+00:00

Hi Expert,

What is the best way to make scheduler or cron job in Azure services. We have one Azure logic APP service and this service needs to be invoked by multiple scheduler for each different Country along with some other combination like channel , product etc. So, there needs around 15 scheduler for different time frequency to call final logic APP api.

What is the best way to achieve this ?

Thanks!

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,249 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,731 Reputation points
    2022-04-01T11:23:15.417+00:00

    @Baharul Islam Thanks for reaching out. Your CORN can only have one expression. So you need to create multiple logic apps/function app (15 different logic apps) with different CORN expressions as per your requirements. Within each logic app, you will be calling your main logic app (HTTP trigger or as per your need) and passing different values for the different scenarios from the calling logic app as per your requirement.

    In case if you are using the function app then you can create a single cron expression that represents the biggest common denominator among all the 15 different times and make the function intelligent enough to decide if it should skip or serve the trigger with what values. I will not suggest this approach as it may be triggering your function app in a scenario where you don't want to do anything and may take more effort to create the logic and cost more than the individual function/logic app if the time of execution is different for all the CORN expressions.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.