- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
User Story 👥
The CLI has the following capabilities:
$ coder2 autostart --help
To have your workspace build automatically at a regular time you can enable autostart.
When enabling autostart, provide the minute, hour, and day(s) of week.
The default schedule is at 09:00 in your local timezone (TZ env, UTC by default).Get Started:
coder autostart enable my-workspace --minute 30 --hour 9 --days 1-5 --tz Europe/DublinFlags:
-h, --help help for autostartCommands:
disable
enable
showUse "coder autostart [command] --help" for more information about a command.
show
is already complete as offeat: ui: show next scheduled autostart/autostop time #1059enable
anddisable
are really "update" and will be combined in the UI as one task (this story)
Acceptance Criteria
Using the UI (or, if the UI is not yet shown in prod, the components), I can set an auto-start (auto-on) time. This includes setting a time or removing it so that it is manual.
Technicals
- We need a new dialog for auto-start/stop incl tests and storybook