Scheduled execution
Any pipeline defined in the bitbucket-pipelines.yml
file can be set on a schedule to run on a regular cadence. Let’s see how to make the configurations.
How to do it…
Scheduling a pipeline is done on the Bitbucket UI, as seen in the following instructions:
- In the Bitbucket repository, select the Pipelines option in the repository sidebar.

Figure 6.13 – Select the Pipelines view
- In the Pipelines view, click the Schedules button.

Figure 6.14 – Click the Schedules button
- To create a new schedule, click the New schedule button in the window that appears.

Figure 6.15 – The New schedule button
- In the Create a schedule window, select a branch, select a pipeline, and select the frequency to run the pipeline. Frequency can be hourly, daily, weekly, or monthly. All times are referred to local time but will be...