From 94a9522f75822661066a751a95f99e0b5aba4e8c Mon Sep 17 00:00:00 2001 From: Daniel Thrasher <40040373+danielthrasher@users.noreply.github.com> Date: Mon, 6 Jul 2020 16:14:44 -0500 Subject: [PATCH] updated acceptable values on cron schedule for day of the week from 0-7 to 0-6 (#2676) * updated acceptable values on cron schedule for day of the week from 0-7 to 0-6 Signed-off-by: Daniel Thrasher * added a changelog file to changelog directory Signed-off-by: Daniel Thrasher Co-authored-by: Daniel Thrasher --- changelogs/unreleased/2676-dthrasher | 1 + pkg/cmd/cli/schedule/create.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/2676-dthrasher diff --git a/changelogs/unreleased/2676-dthrasher b/changelogs/unreleased/2676-dthrasher new file mode 100644 index 000000000..b63db0fbf --- /dev/null +++ b/changelogs/unreleased/2676-dthrasher @@ -0,0 +1 @@ +updated acceptable values on cron schedule from 0-7 to 0-6 \ No newline at end of file diff --git a/pkg/cmd/cli/schedule/create.go b/pkg/cmd/cli/schedule/create.go index 58762d378..f429daa0d 100644 --- a/pkg/cmd/cli/schedule/create.go +++ b/pkg/cmd/cli/schedule/create.go @@ -45,7 +45,7 @@ func NewCreateCommand(f client.Factory, use string) *cobra.Command { | 2 | Hour | 0-23,* | | 3 | Day of Month | 1-31,* | | 4 | Month | 1-12,* | -| 5 | Day of Week | 0-7,* | +| 5 | Day of Week | 0-6,* | The schedule can also be expressed using "@every " syntax. The duration can be specified using a combination of seconds (s), minutes (m), and hours (h), for