Documentation

Support

Create a schedule-based automation.

Create an automation that runs a pipeline on a recurring schedule using simple intervals or custom cron expressions.
Read time 2 minutesLast updated 4 hours ago

A schedule-based automation triggers a pipeline at a defined interval and time of day. You can use this type of automation to automate routine workflows, such as a weekly game deployment. The time of day uses the UTC time zone.

Prerequisites

Before you start, make sure you meet the following prerequisites:
  • You have the Automation Developer role. Contact your Organization Owner to assign you the role.
  • You have a pipeline configured and ready to be automated.
To create a schedule-based automation:
  1. Go to the Automations page.
  2. Select + Create automation. The automation configuration wizard opens.
  3. Select Schedule-based automation.
  4. Select Next.
  5. Configure schedule: configure a recurring schedule, such as hourly, daily, weekly, or monthly.
  6. Select Next.
  7. Configure pipeline: choose a pipeline and configure its parameters.
  8. Select Next.
  9. Review automation: provide an automation name and assign an Automation bot.
  10. Select Create automation.
The automation is created and enabled by default. You can view your automations on the Automations page. Select your automation to expand it and view its details.

Configure schedule

You can configure an automation to trigger a pipeline at a specific interval and time of day using one of the following methods:
  1. Schedule Form
  2. Cron Expression

1. Schedule Form

The Schedule Form is the default method for configuring a schedule-based automation. The form generates a cron expression, which appears on the right side of the dialog. You can select one of the following intervals:
  • Hourly
  • Daily
  • Weekly
  • Monthly
Hourly
  • Configure a time offset, which is the number of minutes past the hour.
  • Optionally, configure Active hours to prevent the automation from triggering during certain times of the day. The default value is all day (00:00–23:59).
  • Optionally, configure Repeats on to restrict the days on which the automation runs. By default, the automation runs every day.
For example, Run every hour, between 09:00 AM and 05:00 PM, only on Monday, Tuesday, Wednesday, Thursday, and Friday. **### Daily / Weekly
  • Configure Time of day to choose a specific hour and minute.
  • Optionally, configure Repeats on to restrict the days on which the automation runs. By default, the automation runs every day.
For example, at 03:00 AM, only on Monday, Wednesday, and Friday. Monthly
  • Configure Day(s) of the month. You can select multiple dates, such as, 1 and 15.
  • Configure Time of day to select a specific hour and minute.
For example, at 03:00 AM, on day 1 and 15 of the month.

2. Cron expression

You can use a cron expression to run a pipeline at a custom interval. To use a cron expression:
  1. In the Configure schedule step, select Use custom cron expression on the right side.
  2. Input a valid cron expression.
  3. Select Next.
The custom schedule is created, and the automation runs according to it.