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.
- Go to the Automations page.
- Select + Create automation. The automation configuration wizard opens.
- Select Schedule-based automation.
- Select Next.
- Configure schedule: configure a recurring schedule, such as hourly, daily, weekly, or monthly.
- Select Next.
- Configure pipeline: choose a pipeline and configure its parameters.
- Select Next.
- Review automation: provide an automation name and assign an Automation bot.
- Select Create automation.
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:- Schedule Form
- 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
- 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.
- 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.
- 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.
2. Cron expression
You can use a cron expression to run a pipeline at a custom interval.
To use a cron expression:
- In the Configure schedule step, select Use custom cron expression on the right side.
- Input a valid cron expression.
- Select Next.