Skip to main content

Create Build Schedules

The following mutation creates a build schedule for a given account:

mutation CreateBuildSchedule($accountId: ObjectID!, $name: String!, $startAt: Date!, $repetitionRate: BuildScheduleRepetitionRate) {
createBuildSchedule(input: {
accountId: $accountId
name: $name
startAt: $startAt
repetitionRate: $repetitionRate
}) {
buildSchedule {
id
name
startAt
repetitionRate
}
}
}

Try in explorer

caution
  • name is unique per Account.
  • repetitionRate is optional, meaning that build schedules can be non-repeatable.