- Notifications
You must be signed in to change notification settings - Fork1.1k
chore(codersdk): explain format of codersdk.UpdateWorkspaceAutostartRequest.Schedule#12539
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
stirby left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Awesome, glad we can get this in before 2.9.0.
| // UpdateWorkspaceAutostartRequest is a request to update a workspace's autostart schedule. | ||
| typeUpdateWorkspaceAutostartRequeststruct { | ||
| // Schedule is expected to be of the form `CRON_TZ=<IANA Timezone> <min> <hour> * * <dow>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Is there a reason we don't deprecate this field and instead makeCronTimezone the property on the struct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Could definitely do this! Main reason was to document. Will file a follow-up.
No description provided.