chore(codersdk): explain format of codersdk.UpdateWorkspaceAutostartRequest.Schedule (#12539)

This commit is contained in:
Cian Johnston
2024-03-11 22:50:38 +00:00
committed by GitHub
parent a546cb8b32
commit d704ff4570
4 changed files with 8 additions and 3 deletions
+3 -3
View File
@@ -6547,9 +6547,9 @@ If the schedule is empty, the user will be updated to use the default schedule.|
### Properties
| Name | Type | Required | Restrictions | Description |
| ---------- | ------ | -------- | ------------ | ----------- |
| `schedule` | string | false | | |
| Name | Type | Required | Restrictions | Description |
| ---------- | ------ | -------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `schedule` | string | false | | Schedule is expected to be of the form `CRON_TZ=<IANA Timezone> <min> <hour> * * <dow>` Example: `CRON_TZ=US/Central 30 9 * * 1-5` represents 0930 in the timezone US/Central on weekdays (Mon-Fri). `CRON_TZ` defaults to UTC if not present. |
## codersdk.UpdateWorkspaceDormancy