Azure Data Factory - Triggers

Vivek Komarla Bhaskar 956 Reputation points
2022-11-04T16:48:19.567+00:00

I want to achieve below requirement -
Say I have a trigger named RunBatchJob

Weekdays: Monday - Friday
I want to schedule this trigger to run on below times:
Recurrence -> Every 5 Minutes between 06:00AM until 10:00 PM
Recurrence -> Every 30 Minutes between 10:01 PM until 05:59 AM

Weekends: Saturday, Sunday
I want to schedule this trigger to run on below times:
Recurrence -> Every 10 Minutes between 06:00AM until 10:00 PM
Recurrence -> Every 1 Hour between 10:01 PM until 05:59 AM

This used to be particularly easy on SQL server jobs, can anyone please advise me how to do it on ADF?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,641 Reputation points Moderator
    2022-11-08T08:28:46.68+00:00

    Hello @Vivek Komarla Bhaskar ,

    Thanks for the question and using MS Q&A platform.

    You need to create a new trigger for each scenario shown above - which means every scenario you need to create a trigger.

    Here are the assosicated triggers as per your requirement:

    TriggerOne: Weekdays Monday - Friday (Recurrence -> Every 5 Minutes between 06:00AM until 10:00 PM)

    257998-image.png

    TriggerTwo: Weekdays Monday - Friday ( Every 30 Minutes between 10:01 PM until 05:59 AM)

    258187-image.png

    TriggerThree: Weekends: Saturday, Sunday (Recurrence -> Every 10 Minutes between 06:00AM until 10:00 PM)

    258126-image.png

    TriggerFour: Weekends: Saturday, Sunday (Recurrence -> Every 1 Hour between 10:01 PM until 05:59 AM)

    258156-image.png

    For more details, refer to Create a trigger that runs a pipeline on a schedule.

    Hope this will help. Please let us know if any further queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators
    0 comments No comments

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.