Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 1997 22:42:56 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Dave Hummel <hummel@www.buffalostate.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: man 5 crontab
Message-ID:  <Pine.BSF.3.96.971222224226.7705w-100000@localhost>
In-Reply-To: <Pine.LNX.3.95.971217100248.819A-100000@www.buffalostate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Dec 1997, Dave Hummel wrote:

> man 5 crontab says:
>      Lists are allowed.  A list is a set of numbers (or ranges) separated
> by commas.  Examples: ``1,2,5,9'', ``0-4,8-12''.
> 
> And later says: 
>    Lists and ranges are allowed to co-exist in the same field.  "1-3,7-9"
> would be rejected by ATT or BSD cron -- they want to see "1-3" or "7,8,9"
>  ONLY.
> 
>    Is this supposed to say/mean "1-3,7-9" would be rejected by ATT (but
> accepted by BSD)?

I think the proper response is that FreeBSD uses Vixie cron, which != ATT
&& != BSD cron.

>    I'm gonna have to figure that 
> */15  0-6,14-23       *       *       7  root  do_something
> is a valid entry in BSD to mean do something every 15 minutes from
> midnight to 6am and then again from 2pm to midight.

:-) 


Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971222224226.7705w-100000>