.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-schedule-create - Create a new pipeline schedule. .SH SYNOPSIS \fBglab schedule create [flags]\fP .SH DESCRIPTION Create a new CI/CD pipeline schedule. The \fB--cron\fR, \fB--description\fR, and \fB--ref\fR flags are required: .IP \(bu 2 \fB--cron\fR sets the schedule's recurrence in cron syntax. .IP \(bu 2 \fB--ref\fR sets the branch or tag the pipeline runs against. .IP \(bu 2 \fB--description\fR provides a human-readable label. .PP Use \fB--variable\fR to add pipeline variables in \fBkey:value\fR format. Pass \fB--variable\fR multiple times to add several variables. .PP By default, the schedule is created in the current project. Use \fB--repo\fR to target another project. .SH OPTIONS \fB--active\fP[=true] Whether or not the schedule is active. .PP \fB--cron\fP="" Cron interval pattern. .PP \fB--cronTimeZone\fP="UTC" Cron timezone. .PP \fB--description\fP="" Description of the schedule. .PP \fB--ref\fP="" Target branch or tag. .PP \fB--variable\fP=[] Pass variables to schedule in the format :\&. Repeat flag for multiple variables. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # 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" .EE .SH SEE ALSO \fBglab-schedule(1)\fP