complex crontab query

Kai Grossjohann kai.grossjohann at gmx.net
Tue Sep 30 14:40:02 PDT 2003


Matthew Hunt <mph at 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



More information about the freebsd-questions mailing list