glab-schedule-create - Man Page

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:

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)

Referenced By

glab-schedule(1).

Jun 2026 Auto generated by spf13/cobra