[ale] cron entry that runs the 2nd saturday of every month
Michael H. Warfield
mhw at WittsEnd.com
Mon Aug 29 10:35:06 EDT 2011
On Mon, 2011-08-29 at 10:09 -0400, Geoffrey Myers wrote:
> The Don Lachlan wrote:
> > On Fri, Aug 26, 2011 at 02:25:40PM -0400, Geoffrey Myers wrote:
> >> Is it possible?
> >
> > 0 0 8-14 * 6 /usr/bin/foo
> >
> > That says, "Run foo on days of the month between 8th and 14th (inclusive)
> > that are Saturdays."
> >
> > There will be only one Saturday every month in that window and it will
> > always be the second one of the month.
> >
> > I think others in the thread explained this but didn't give specific syntax
> > and so others continued on script folly.
> Sweet, just didn't consider that solution, thanks.
Ah. Test that out CAREFULLY and read the rest of the thread. According
to my reading of the doco on crontab (5), it will NOT work.
> >
> > -L
> --
> Until later, Geoffrey
>
> "I predict future happiness for America if they can prevent
> the government from wasting the labors of the people under
> the pretense of taking care of them."
> - Thomas Jefferson
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20110829/9dc6b338/attachment.bin
More information about the Ale
mailing list