---
name: "glab-schedule-create"
section: "1"
platform: "linux"
package: "glab"
version: "1.126.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/glab-schedule-create"
---

# glab-schedule-create(1)

Create a new pipeline schedule.

## NAME

glab-schedule-create - Create a new pipeline schedule.

## SYNOPSIS

**glab schedule create \[flags\]**

## DESCRIPTION

Create a new CI/CD pipeline schedule. The **--cron**, **--description**, and **--ref** flags are required:

- •

  **--cron** sets the schedule's recurrence in cron syntax.

- •

  **--ref** sets the branch or tag the pipeline runs against.

- •

  **--description** provides a human-readable label.

Use **--variable** to add pipeline variables in **key:value** format. Pass **--variable** multiple times to add several variables.

By default, the schedule is created in the current project. Use **--repo** to target another project.

## OPTIONS

**--active**\[=true\]\
 	Whether or not the schedule is active.

**--cron**=""\
 	Cron interval pattern.

**--cronTimeZone**="UTC"\
 	Cron timezone.

**--description**=""\
 	Description of the schedule.

**--ref**=""\
 	Target branch or tag.

**--variable**=\[\]\
 	Pass variables to schedule in the format :. Repeat flag for multiple variables.

## OPTIONS INHERITED FROM PARENT COMMANDS

**-h**, **--help**\[=false\]\
 	Show help for this command.

**-R**, **--repo**=""\
 	Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

## EXAMPLE

```
# Create a scheduled pipeline that runs every hour
glab schedule create --cron "0 * * * *" --description "Hourly build" --ref main
# Create a schedule with pipeline variables
glab schedule create --cron "0 0 * * *" --description "Daily build" --ref main --variable "foo:bar" --variable "baz:qux"
```

## SEE ALSO

**[glab-schedule(1)](/glab-schedule/1.md)**
