Skip to content

Commit 604cb1e

Browse files
refactor: improve docs
1 parent 201cd1d commit 604cb1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/workspace_preset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a complete
176176
Schema: map[string]*schema.Schema{
177177
"cron": {
178178
Type: schema.TypeString,
179-
Description: "A cron expression that defines when this schedule should be active. The cron expression must be in the format \"* HOUR * * DAY-OF-WEEK\" where HOUR is 0-23 and DAY-OF-WEEK is 0-6 (Sunday-Saturday). The minute, day-of-month, and month fields must be \"*\".",
179+
Description: "A cron expression that defines when this schedule should be active. The cron expression must be in the format \"* HOUR DOM MONTH DAY-OF-WEEK\" where HOUR is 0-23, DOM (day-of-month) is 1-31, MONTH is 1-12, and DAY-OF-WEEK is 0-6 (Sunday-Saturday). The minute field must be \"*\" to ensure the schedule covers entire hours rather than specific minute intervals.",
180180
Required: true,
181181
ValidateFunc: func(val interface{}, key string) ([]string, []error) {
182182
cronSpec := val.(string)

0 commit comments

Comments
 (0)