glab-schedule-create - Schedule a new pipeline.
glab schedule create [flags]
Schedule a new pipeline.
|
--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 :. |
|
-h, --help[=false] |
Show help for this command. | ||
|
-R, --repo="" |
Select another repository. Can use either OWNER/REPO or GROUP/NAMESPACE/REPO format. Also accepts full URL or Git URL. |
# Create a
scheduled pipeline that runs every hour
$ glab schedule create --cron "0 * * * *"
--description "Describe your pipeline here" --ref
"main" --variable "foo:bar" --variable
"baz:baz"
> Created schedule
glab-schedule(1)