# Schedule builds: every 2 weeks, monthly, or hourly!

**URL:** <https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330>\
**Category:** Website\
**Created:** [March 31, 2017, 10:54am UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330 "2017-03-31T10:54:33Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![thaiduy](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@thaiduy](https://discuss.bitrise.io/u/thaiduy)\
**Post date:** [March 31, 2017, 10:54am UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/1 "2017-03-31T10:54:34Z")

</div>

Hello guys,  
I searched for “schedule” but can not find any topics similar to my request so I decided to create a new one.  
We’re using Bitrise to schedule beta and production builds, but right now as I can see in Build Configuration, I can only schedule build every “1” week, but it’s quite much for our need. Ideally we want to schedule beta builds every week and production builds every 2 weeks.  
What do you think about it?

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [March 31, 2017, 11:38am UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/2 "2017-03-31T11:38:27Z")

</div>

Awesome idea @thaiduy, thanks for the #feature-request! 😉

_Note/workaround for now, although this requires quite some config outside of [Bitrise.io](http://Bitrise.io): you can use any scheduler, e.g. `cron` on a VPS, and the [Bitrise.io Build Trigger API](http://devcenter.bitrise.io/api/build-trigger/) to trigger scheduled builds._

---

<div class="post-metadata">

**Author:** ![thaiduy](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@thaiduy](https://discuss.bitrise.io/u/thaiduy)\
**Post date:** [April 1, 2017, 1:09am UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/3 "2017-04-01T01:09:23Z")

</div>

Thank you for your reply @viktorbenei, I will try your suggestion.

---

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://discuss.bitrise.io/u/bootstraponline)\
**Post date:** [November 10, 2017, 10:36am UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/4 "2017-11-10T10:36:06Z")

</div>

## Description of the feature request

It’d be nice to schedule jobs that run monthly.

## Use case / for what or how I would use it

Infrequent tasks such as updating translations would benefit from running automatically every month.

---

<div class="post-metadata">

**Author:** ![paymand](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@paymand](https://discuss.bitrise.io/u/paymand)\
**Post date:** [October 11, 2018, 3:51pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/5 "2018-10-11T15:51:24Z")

</div>

**Feature request**  
To be able to specify a more fine-grained (cron-like) scheduling.

**Use case**  
Make an API request to a server every two hours.

This might be a bit extreme, but can be an inspiration: [https://crontab.guru/](https://crontab.guru/)

---

<div class="post-metadata">

**Author:** ![sathishkumars](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@sathishkumars](https://discuss.bitrise.io/u/sathishkumars)\
**Post date:** [February 24, 2021, 8:20pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/6 "2021-02-24T20:20:34Z")

</div>

Hey Guys. Any update on this feature request? Our team could greatly benefit from this. Thanks.

---

<div class="post-metadata">

**Author:** ![david.m](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@david.m](https://discuss.bitrise.io/u/david.m)\
**Post date:** [April 15, 2021, 3:11pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/7 "2021-04-15T15:11:02Z")

</div>

hi, i really need this function, i need to run a workflow every 12 minutes and another monthly, is there any update on this?

---

<div class="post-metadata">

**Author:** ![cathy.harmon](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cathy.harmon/32/2674_2.png) [@cathy.harmon](https://discuss.bitrise.io/u/cathy.harmon)\
**Post date:** [April 21, 2021, 7:37pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/8 "2021-04-21T19:37:35Z")

</div>

We try to implement as many feature requests as we can, but we get a lot! Unfortunately, there is no update for this at this time.

One suggestion - you might look at setting up a CRON job or equivalent and use the API to trigger your build.  
[https://api-docs.bitrise.io/#/builds/build-trigger](https://api-docs.bitrise.io/#/builds/build-trigger)

---

<div class="post-metadata">

**Author:** ![david.m](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@david.m](https://discuss.bitrise.io/u/david.m)\
**Post date:** [April 22, 2021, 8:19pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/9 "2021-04-22T20:19:31Z")

</div>

Hi Cathy, I really appreciate your response.

Currently in Bitrise when I execute a build using curl, it executes immediately, but what I need is, using parameters to configure that it should not execute immediately, but must wait, for example 10 minutes and then execute the build. this would be a one-time execution. which is different from the recurring executions that are currently in beta.

Using this [link](https://docs.microsoft.com/en-us/azure/connectors/connectors-native-recurrence) is an example of creating a one-time schedule build with curl could be

```
"build_params": {
"triggers": {
   "Recurrence": {
      "type": "OneTime",
      "startTime": "2020-09-07T14:00:00Z",
      "timeZone": "Pacific Standard Time"
   }
}}

```

for example using the API for schedule a recurrent build could be:

```
"build_params": {
"triggers": {
   "Recurrence": {
      "type": "Recurrence",
      "recurrence": {
         "frequency": "Week",
         "interval": 1,
         "schedule": {
            "hours": [
               10,
               12,
               14
            ],
            "minutes": [
               30
            ],
            "weekDays": [
               "Monday"
            ]
         },
         "startTime": "2020-09-07T14:00:00Z",
         "timeZone": "Pacific Standard Time"
      }
   }
}}
```

---

<div class="post-metadata">

**Author:** ![cathy.harmon](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cathy.harmon/32/2674_2.png) [@cathy.harmon](https://discuss.bitrise.io/u/cathy.harmon)\
**Post date:** [April 23, 2021, 5:02pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/10 "2021-04-23T17:02:02Z")

</div>

Wow - thanks for the additional information and for the example! I agree this would be a great feature and added this update to the feature request. We do have a large number of feature request so I do not know if or when this might happen.

In the meantime, I can only suggest using a scheduler tool to kick the builds off when needed. Not ideal, but the only option I can think of at the moment.

---

<div class="post-metadata">

**Author:** ![taso.dane](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/taso.dane/32/3299_2.png) [@taso.dane](https://discuss.bitrise.io/u/taso.dane)\
**Post date:** [May 7, 2021, 10:31am UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/11 "2021-05-07T10:31:33Z")

</div>

It is sometimes really surprising that Bitrise is lacking such simple features. It is a common practice to use cron job syntax for recurring tasks and all other CI systems I used before have this feature.

Also, I would say this should be configured within the bitrise.yaml. Then having cronjob syntax makes a lot more sense.

---

<div class="post-metadata">

**Author:** ![cathy.harmon](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/cathy.harmon/32/2674_2.png) [@cathy.harmon](https://discuss.bitrise.io/u/cathy.harmon)\
**Post date:** [May 18, 2021, 9:22pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/12 "2021-05-18T21:22:58Z")

</div>

Thanks for adding your comments! If you haven’t, be sure to vote for this requests.

Cathy

---

<div class="post-metadata">

**Author:** ![jingwei](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jingwei](https://discuss.bitrise.io/u/jingwei)\
**Post date:** [August 8, 2022, 11:21pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/13 "2022-08-08T23:21:53Z")

</div>

Has this been supported yet?

---

<div class="post-metadata">

**Author:** ![kaushal.bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/kaushal.bitrise/32/5305_2.png) [@kaushal.bitrise](https://discuss.bitrise.io/u/kaushal.bitrise)\
**Post date:** [September 1, 2024, 2:10pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/14 "2024-09-01T14:10:59Z")

</div>

Pleased to share that flexible schedules was released earlier this year. Check this out - [Scheduling builds - Bitrise Docs](https://devcenter.bitrise.io/en/builds/starting-builds/scheduling-builds.html)

---

<div class="post-metadata">

**Author:** ![kaushal.bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/kaushal.bitrise/32/5305_2.png) [@kaushal.bitrise](https://discuss.bitrise.io/u/kaushal.bitrise)\
**Post date:** [September 1, 2024, 2:11pm UTC](https://discuss.bitrise.io/t/schedule-builds-every-2-weeks-monthly-or-hourly/1330/15 "2024-09-01T14:11:11Z")

</div>

Closed on September 1, 2024, 2:11pm UTC


