Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2003 22:56:20 +0200
From:      Kai Grossjohann <kai.grossjohann@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: complex crontab query
Message-ID:  <86d6di0zd7.fsf@slowfox.dyndns.org>
References:  <20030930164957.GL59342@ns2.wananchi.com> <20030930181029.GA2738@wopr.caltech.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Hunt <mph@astro.caltech.edu> writes:

>> 2. Every first Thursday of the month
>
> 0  3  1-7   *  *  [ `date +%a` = Thu ] && mycommand

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

But I'm not an expert.

Kai



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