From owner-freebsd-questions Mon Dec 22 22:43:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA11898 for questions-outgoing; Mon, 22 Dec 1997 22:43:12 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (cisco-ts7-line16.uoregon.edu [128.223.150.63]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA11890 for ; Mon, 22 Dec 1997 22:43:07 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id WAA07973; Mon, 22 Dec 1997 22:42:56 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 22 Dec 1997 22:42:56 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Dave Hummel cc: questions@FreeBSD.ORG Subject: Re: man 5 crontab In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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