git: 29358694281f - main - crontab.5: Correct claims on ranges and names

Chris Rees crees at FreeBSD.org
Wed Mar 3 16:39:01 UTC 2021


The branch main has been updated by crees (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=29358694281ffa12c7dc8b94f09a9a146579fe6e

commit 29358694281ffa12c7dc8b94f09a9a146579fe6e
Author:     Chris Rees <crees at FreeBSD.org>
AuthorDate: 2021-03-03 16:35:45 +0000
Commit:     Chris Rees <crees at 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 at gmail.com>
---
 usr.sbin/cron/crontab/crontab.5 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/usr.sbin/cron/crontab/crontab.5 b/usr.sbin/cron/crontab/crontab.5
index 44c3c3a36f0f..0e48a0d804f4 100644
--- a/usr.sbin/cron/crontab/crontab.5
+++ b/usr.sbin/cron/crontab/crontab.5
@@ -203,8 +203,7 @@ 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.
+Ranges and lists are also allowed.
 .Pp
 The ``sixth'' field (the rest of the line) specifies the command to be
 run.


More information about the dev-commits-src-main mailing list