From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 14:40:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99D0C16A4B3 for ; Tue, 30 Sep 2003 14:40:02 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E6E1B43FAF for ; Tue, 30 Sep 2003 14:39:59 -0700 (PDT) (envelope-from kai.grossjohann@gmx.net) Received: (qmail 12336 invoked by uid 65534); 30 Sep 2003 21:39:58 -0000 Received: from p508E30F1.dip.t-dialin.net (EHLO slowfox.dyndns.org) (80.142.48.241) by mail.gmx.net (mp025) with SMTP; 30 Sep 2003 23:39:58 +0200 X-Authenticated: #361006 Received: by slowfox.dyndns.org (Postfix, from userid 1001) id B38A2412F; Tue, 30 Sep 2003 23:40:48 +0200 (CEST) To: Matthew Hunt References: <20030930164957.GL59342@ns2.wananchi.com> <20030930181029.GA2738@wopr.caltech.edu> <86d6di0zd7.fsf@slowfox.dyndns.org> <20030930210040.GA5088@wopr.caltech.edu> From: Kai Grossjohann Date: Tue, 30 Sep 2003 23:40:48 +0200 In-Reply-To: <20030930210040.GA5088@wopr.caltech.edu> (Matthew Hunt's message of "Tue, 30 Sep 2003 14:00:40 -0700") Message-ID: <86fzieymxr.fsf@slowfox.dyndns.org> User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: complex crontab query X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 21:40:02 -0000 Matthew Hunt writes: > On Tue, Sep 30, 2003 at 10:56:20PM +0200, Kai Grossjohann wrote: > >> My understanding is that putting more than one condition in it >> performs a logical conjunction. So wouldn't it work to do like this? >> >> # minute hour dom month dow command >> 0 3 1-7 * 4 mycommand > > I thought that might be the case, but the man page says: > > # Commands are executed by cron(8) when the minute, hour, and month of > # year fields match the current time, and when at least one of the two > # day fields (day of month, or day of week) matches the current time > # (see ``Note'' below). Ick. Silly me. Can't even read the manpage. *blush* Kai