[lug] Cron to run every 3rd tuesday
Scott Herod
herod at dimensional.com
Mon Jun 20 20:18:21 MDT 2005
On Mon, 20 Jun 2005, David Anselmi wrote:
> Shannon Johnston wrote:
> > I have a perl script that needs to run every month, on the 3rd tuesday
> > of the month. Here's my cron entry:
> >
> > 0 0 11-18 * 2 /usr/local/bin/script.pl
>
> crontab(5) says this means 11th-18th plus Tuesdays. My cron can't do
> what you want but there's this:
>
> http://zgp.org/linux-elitists/20050322011849.GC16840@localhost.html
>
> Dave
Or have a separate perl script which runs every Tuesday which checks to
see whether it is the third Tuesday and if so runs your script.
Scott
More information about the LUG
mailing list