Re: complex crontab query
From: Kai Grossjohann (kai.grossjohann_at_gmx.net)
Date: 09/30/03
- Previous message: Gary: "Re: Changing from POP3 server to IMAP server"
- In reply to: Matthew Hunt: "Re: complex crontab query"
- Next in thread: Matthew Hunt: "Re: complex crontab query"
- Reply: Matthew Hunt: "Re: complex crontab query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-questions@freebsd.org Date: Tue, 30 Sep 2003 22:56:20 +0200
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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Gary: "Re: Changing from POP3 server to IMAP server"
- In reply to: Matthew Hunt: "Re: complex crontab query"
- Next in thread: Matthew Hunt: "Re: complex crontab query"
- Reply: Matthew Hunt: "Re: complex crontab query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]