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" to crontab.
Fixed. Thanks for noticing!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=29358694281ffa12c7dc8b94f09a9a146579fe6e commit 29358694281ffa12c7dc8b94f09a9a146579fe6e 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 import. PR: docs/253969 Reported by: Ben Bullock <benkasminbullock@gmail.com> usr.sbin/cron/crontab/crontab.5 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)