Jump to content

Cli/ref/mw gitlab schedule create

From mediawiki.org
< Cli‎ | ref

mw gitlab schedule create

[edit]

Schedule a new pipeline.

mw gitlab schedule create [flags]

Examples

[edit]
glab schedule create --cron "0 * * * *" --description "Describe your pipeline here" --ref "main" --variable "foo:bar" --variable "baz:baz"

Options

[edit]
      --active                Whether or not the schedule is active (default true)
      --cron string           Cron interval pattern
      --cronTimeZone string   Cron timezone (default "UTC")
      --description string    Description of the schedule
      --ref string            Target branch or tag
      --variable strings      Pass variables to schedule in format <key>:<value>

Options inherited from parent commands

[edit]
      --help              Help for this command
      --no-interaction    Do not ask any interactive questions
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  -v, --verbose count     Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]