The "man 5 crontab" claims:
Names can also be used for the ``month'' and ``day of week'' fields. Use
the first three letters of the particular day or month (case does not
matter). Ranges or lists of names are not allowed.
However, ranges such as mon-fri or lists such as mon,tue do work. This can easily be confirmed by adding lines such as
* * * * mon-fri echo "boo"
* * * Mar,Apr wed,thu echo "baa"
Fixed. Thanks for noticing!
A commit in branch main references this bug:
Author: Chris Rees <crees@FreeBSD.org>
AuthorDate: 2021-03-03 16:35:45 +0000
Commit: Chris Rees <crees@FreeBSD.org>
CommitDate: 2021-03-03 16:35:45 +0000
crontab.5: Correct claims on ranges and names
Ranges use the function get_number, which means that ranges of names
are supported and indeed always have been, righ back to the initial
Reported by: Ben Bullock <firstname.lastname@example.org>
usr.sbin/cron/crontab/crontab.5 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)