Skip to content
  • There are no suggestions because the search field is empty.

How-To: Run Pipeline based on a Cron Interval

What Does This Article Cover?

  • What is Cron?
  • Cron Trigger Stage
  • Other Related Material

What is Cron?

Cron is a time-based job scheduling syntax that automates repetitive tasks by scheduling them at a fixed interval.  It originated on Unix operating systems but can be used on any OS.  It is a powerful tool to automate to run jobs at a specific times or intervals without manual intervention.

Cron Trigger Stage

The Cron trigger is a new stage in version 4.1.   This stage using Cron syntax to determine when the pipeline should be run.  This screenshot shows an example of running a the Cron trigger.   The Scheduled defines when the pipeline should be run.   This syntax is well known.   See the crontab guru link in the Other Related Material section to help determine the the syntax to use for your use case.

This example uses a syntax of 0/2 * * * 1-5.  This will run the pipeline every 2 minutes on Monday thru Friday.   0/2 defines the 2 every 2 minutes.   1-6 defines Monday thru Friday.   

Here is the crontab guru results using this syntax.   As you can see, this site is very helpful in determining the right syntax.

The over options on the stage are Timezone and Logging.   Timezone sets on whether the Cron syntax should be based on local time or based on UTC.   Logging set whether the trigger events should be logged to the Events Log.

Other Related Material: