Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2003 23:40:48 +0200
From:      Kai Grossjohann <kai.grossjohann@gmx.net>
To:        Matthew Hunt <mph@astro.caltech.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: complex crontab query
Message-ID:  <86fzieymxr.fsf@slowfox.dyndns.org>
In-Reply-To: <20030930210040.GA5088@wopr.caltech.edu> (Matthew Hunt's message of "Tue, 30 Sep 2003 14:00:40 -0700")
References:  <20030930164957.GL59342@ns2.wananchi.com> <20030930181029.GA2738@wopr.caltech.edu> <86d6di0zd7.fsf@slowfox.dyndns.org> <20030930210040.GA5088@wopr.caltech.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Hunt <mph@astro.caltech.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fzieymxr.fsf>