complex crontab query
Kai Grossjohann
kai.grossjohann at gmx.net
Tue Sep 30 13:55:30 PDT 2003
Matthew Hunt <mph at 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
More information about the freebsd-questions
mailing list