-
Notifications
You must be signed in to change notification settings - Fork 887
cli: support enabling/disabling auto start / auto stop #813
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
Comments
Fixed by #922. |
Love the crontab format |
I actually ended up changing the CLI for it to make it slightly friendlier, it's now more like:
It's still all crontab under the hood though! |
I preferred the standard crontab format. It is already well documented throughout the internet, and something most DevOps people (our ideal configurer) will be familiar with. If we want to help them a little, we could include a link to crontab.guru. This is in the spirit of invent as little as possible and as a last resort. |
In addition to that problem, I do not see the auto start functionality in the CLI, so I think this was mistakenly closed. |
As a user, I want to be able to enable and disable autostart / autostop for my workspaces using the CLI:
Examples:
coder workspaces autostart enable my-workspace '30 9 * * 1-5'
will enable workspace autostart for my-workspace every weekday at 0930 my local time (whatever my system time location is set to).coder workspaces autostart disable my-workspace
will disable workspace autostart.coder workspaces autostop enable my-workspace '59 23 * * 1-5 Asia/Kolkata'
will enable workspace autostop every day at 23:59 India time.The text was updated successfully, but these errors were encountered: