glab(1)
π
glab(1) β like, the manual page for glab, bestie
okay so you opened the glab manual and landed on glab-schedule-create, which is the one that makes pipeline schedules exist. yes. brand new ones. we're creating. π
β¨ NAME β¨
glab-schedule-create β Create a new pipeline schedule.
Like, literally: this command gives birth to a brand-new CI/CD pipeline schedule and it's iconic for it. π
π¦ SYNOPSIS π¦
glab schedule create [flags]
that's it. that's the whole thing. flags do all the heavy lifting (see below, there are six and they're all required-ish, we'll get there π«Ά).
πΈ DESCRIPTION πΈ
okay so here's the tea: this command creates a new CI/CD pipeline schedule. and the --cron, --description, and --ref flags are required β not optional, not "if you feel like it", required, periodt. π
--cron: sets the schedule's recurrence in cron syntax (yes, the star-star-star thing, you got this).--ref: sets the branch or tag the pipeline runs against.--description: provides a human-readable label, i.e. the cute little name humans read.
Wanna add pipeline variables? use --variable and pass them in key:value format. and β this is the fun part β you pass --variable multiple times to add several variables. stack 'em like bracelets. β¨
by default the schedule gets created in the current project. wanna target a different one? that's what --repo is for. no cap. π
π OPTIONS π
--active[=true]: whether or not the schedule is active. that's the whole vibe check.--cron="": cron interval pattern.--cronTimeZone="UTC": cron timezone. default is literallyUTCbecause time zones are chaos and someone had to pick one. π°οΈ--description="": description of the schedule. give it a cute label, it deserves one.--ref="": target branch or tag. the place your pipeline actually runs. πββοΈ--variable=[]: pass variables to schedule in the format:. repeat flag for multiple variables. (so many colons. so many variables.) π
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
these aren't even from this command, they're heirlooms. family jewels. π
-h,--help[=false]: show help for this command. when in doubt, ask the command itself.-R,--repo="": select another repository. you can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted. flexible queen behavior. π
π₯ 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"
look at those two. one hourly, one daily, both slaying. the second one even brought friends (foo:bar and baz:qux, we love them). β
π SEE ALSO π
glab-schedule(1)β go read the parent, it misses you.
ngl bestie, double-check your cron before you commit β cron syntax does not forgive and does not forget. π
β¨ that's the whole page β¨ β auto generated by spf13/cobra, dated Nov 2026, and it's the glab(1) manual, so likeβ¦ go forth and schedule, you absolute main character. ππ¦
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms