[ale] cron entry that runs the 2nd saturday of every month

Geoffrey Myers lists at serioustechnology.com
Mon Aug 29 10:09:34 EDT 2011


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.

> 
> -L
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


-- 
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


More information about the Ale mailing list