schedule pipeline in from monday to saturday on daily

Hardik Patel June 17, 2021

Hello Team,

I want to schedule pipeline that run on monday to saturday on daily bases.

Is it possible to schedule in cron manner?

 

Thx.

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 21, 2021

Hi @Hardik Patel and welcome to the community!

It is possible to trigger a pipeline using our API:

You can create a script that triggers the pipeline you want via API, and then set up a cron job to run it the days and times you want.

It is also possible to create schedules via Bitbucket UI:

At the moment it is not possible to select certain days of the week only. We have a feature request about this in our issue tracker:

The 'Daily' option we provide would run it from Monday to Sunday. You could potentially create 6 'Weekly' schedules (one for each day from Monday to Saturday) if you'd like to make use of that feature.

Otherwise, you can a script using our API and a cron job will also work.

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events