Lets you manage when your component will be triggered

What is a Scheduler?

Scheduler is available for most of the components and lets you decide when and how often that component will be triggered. You can start configuring the scheduler by clicking on the button located at top right of the component settings

⚠️ If you don't have any input ports that has On Change: True, you have to define a scheduler for that component to run. This is not valid for Input components as they are automatically triggered when the data they read changes.

How to use the Scheduler?

Once you click Go to schedule, you will encounter a page like this

You can add multiple rows to the scheduler, each row will have its own interval. Component will run whenever current time is meeting the conditions specified by the user, in any row. You have several options creating a scheduler:

  1. Setting a start and an end date - This is pretty self-explanatory, you can set the dates at the very top.

  2. Running the scheduler only once on the start date specified

  3. Adding a time interval

When you want to run the schedule whenever the dataflow starts/restarts, you have to check Run On Dataflow Start, which is already checked by default

Defining conditions to scheduler

You are very flexible to create a scheduler that will meet your needs. You have several options, and you can combine all these options until you exhaust the possible selections.

  1. At... days: Choose any day(s) for scheduler to run

  2. At... hours: Choose any hour that the scheduler will run (selecting 5,6,13 will make the scheduler run on 5am, 6am and 1pm

  3. At... minutes: Choose any minute that the scheduler will run (selecting 5,6,13 will make the scheduler run on X:05, X:06, X:13 - X represents any hour

  4. At... seconds: Choose any seconds that the scheduler will run (selecting 5,6,13 will make the scheduler run on X:YY:05, X:YY:06, X:YY:13 - X represents any hour, YY represents any minute

  5. From... to: You can select any time interval that the scheduler will run. (e.g from 10:05:22 to 22:30:00)

  6. Every...: You can input an integer value to make sure your scheduler will run every miliseconds/seconds/minutes/hours/days. Your value will determine the frequency.

You can combine all of these to achieve a unique constraint, or you can simply make the scheduler run every 1 second. Totally up to you.

⚠️ Note that you can create multiple rows to meet your needs.


⏲️ Scheduler should run every 5 seconds, on Monday, Tuesday, Thursday, from 10:10:22 to 15:30:00

⏲️ Scheduler should run on every hour, and when it is XX:30:50 (XX is a placeholder for hour)

⏲️ Scheduler should run every 5 minutes on Monday and Tuesday, and should run every 50 seconds else

⏲️ Scheduler should run every 100 milliseconds from 08:30:00 to 18:00:00 until February 2, 2022

Last updated