Skip to content

Commit b3e1e41

Browse files
authored
Day ranges can only be numeric
1 parent c5367aa commit b3e1e41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/puppet/type/cron.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,9 @@ def alpha
280280
must be either:
281281
282282
- A number between 0 and 7, inclusive, with 0 or 7 being Sunday
283-
- The name of the day, such as 'Tuesday'."
283+
- The name of the day, such as 'Tuesday'.
284+
285+
Day ranges can only be numeric; e.g. '1-5' for weekdays, but not 'Mon-Fri'."
284286
end
285287

286288
newproperty(:month, parent: CronParam) do

0 commit comments

Comments
 (0)