Get

Learn how to list schedules.

Command

$ vela get schedule <parameters...> <arguments...>

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the schedulesVELA_ORG, SCHEDULE_ORG
reponame of repository for the schedulesVELA_REPO, SCHEDULE_REPO
outputformat the output for the schedulesVELA_OUTPUT, SCHEDULE_OUTPUT
pageprints a specific page of schedulesVELA_PAGE, SCHEDULE_PAGE
per.pagenumber of schedules to print per pageVELA_PER_PAGE, SCHEDULE_PER_PAGE

Sample

Request

$ pwd
~/github/octocat
$ vela get schedule

Targeted Request

$ vela get schedule --org github --repo octocat

Response

NAME   	ENTRY    	ACTIVE	SCHEDULED_AT
nightly	0 0 * * *	true  	a second ago
hourly 	0 * * * *	true  	a second ago

Examples

EXAMPLES:
  1. Get a list of schedules for a repository.
    $ vela get schedule --org MyOrg --repo MyRepo
  2. Get a list of schedules for a repository with wide view output.
    $ vela get schedule --org MyOrg --repo MyRepo --output wide
  3. Get a list of schedules for a repository with yaml output.
    $ vela get schedule --org MyOrg --repo MyRepo --output yaml
  4. Get a list of schedules for a repository with json output.
    $ vela get schedule --org MyOrg --repo MyRepo --output json
  5. Get a list of schedules for a repository when config or environment variables are set.
    $ vela get schedule