Scheduling Jobs and Pipelines

Scheduling

Scheduling is the ability to use a cron expression to schedule when and how often to perform an action. This allows you to automatically perform these actions instead of having to manually press the button.

Currently, you can schedule:

  • Jobs transaction start

  • Pipelines transaction start

Scheduling Jobs

Every job has the option to schedule it. By scheduling a job, it will start a transaction automatically based on the schedule you provide.

To schedule a job you will need to provide a cron expression for how often the job should be run.

You can schedule a job by selecting "Jobs" on the left to view the "Jobs" screen.

To add a schedule config to a job, press the "Schedule" button in the "Transaction" column for the job you want to schedule.

This will then open a drawer for you to create a schedule. Press the "Create" button in the top right corner to add a schedule for the job.

Then, input your cron expression into the text box that appears.

This example cron expression will run the job every Friday, at 12:00.

Finally, press the "Create" button in the top right again to save the schedule config.

This config will appear when you press the "schedule" button for this job after closing the drawer.

Scheduling Pipelines

Scheduling a pipeline is very similar to scheduling a job. Start by selecting "Pipelines" from the left to view the "Pipelines" screen.

Again, press the "Schedule" button in the "Transaction" column for the pipeline, you want to schedule.

This will open a drawer to create the schedule config for the pipeline. Following the same steps for the scheduling a job, you can create a schedule for the pipeline.

Scheduling Deep Dive

Editing a schedule

To edit a schedule, press the "Schedule" button for a job/pipeline that has an existing schedule.

This will then display the existing schedule.

To edit this schedule, press the pencil button, input the new cron expression and save by pressing the "Update" button.

Creating Multiple Schedules

Multiple schedules can be created for the same action. Each schedule will be respected and run. Simply press the "Create" button like when you created the first schedule. Then set the cron expression and save it.

Removing Schedules

You can remove any unnecessary schedules by pressing the 'x' button for the schedule you want to remove. Then selecting "Remove Anyway".

Last updated