Skip site navigation (1)Skip section navigation (2)
Date:      10 Oct 2000 16:14:55 -0400
From:      Lowell Gilbert <lowell@world.std.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cronjob help
Message-ID:  <444s2kcv28.fsf@lowellg.ne.mediaone.net>
In-Reply-To: bright@wintelcom.net's message of "10 Oct 2000 19:00:36 %2B0200"
References:  <39E34A7F.124049C9@exit1.com> <20001010100010.U272@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
bright@wintelcom.net (Alfred Perlstein) writes:

> * tara@exit1.com <tara@exit1.com> [001010 09:57] wrote:
> > I have read the documentation on setting up a cron job to run every
> > other Wednesday - I did exactly what the documentation stated - here is
> > my entry in /etc/crontab:
> > 
> > #Capitolworks script
> > 30      12      *       *       mon/2   root
> > /usr/home/politemps/capitolworks/newsletter.pl
> > 
> > However - the script runs every monday - does anyone know what is
> > wrong...I sure don't get it.
> 
> I think that you need to try 'wed' instead of 'mon'.

I think that will get the entry to Wednesday, but it will still run
every week rather than every other one (the man page says that ranges
don't work with names).  So I think the answer is to replace 'mon'
with '3' rather than 'wed'.  But I haven't tried it...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444s2kcv28.fsf>