Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow cron schedules to be overridden in the CLI #3194

Closed
samath117 opened this issue Jun 8, 2020 · 2 comments · Fixed by #3199
Closed

Allow cron schedules to be overridden in the CLI #3194

samath117 opened this issue Jun 8, 2020 · 2 comments · Fixed by #3199
Labels
type/feature Feature request

Comments

@samath117
Copy link

Summary

The CLI for argo cron create should allow the option to override the default schedule.

Motivation

If I want to change the schedule for a CronWorkflow, I currently have to edit the CronWorkflow file itself. This is annoying if I want to repeatedly change it when my needs change.

Proposal

A new -s, --schedule option in argo cron create should allow for editing of the schedule, in much the same way that argo submit -p works to override/define workflow parameters. Additionally, if the schedule is left out of the file, argo cron create could still work properly if this option is invoked (again, the same as with workflow parameters).


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@samath117 samath117 added the type/feature Feature request label Jun 8, 2020
@alexec
Copy link
Contributor

alexec commented Jun 8, 2020

@simster7 do you want to own?

@simster7
Copy link
Member

simster7 commented Jun 8, 2020

Sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants