From owner-freebsd-questions Tue Oct 10 13:15: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by hub.freebsd.org (Postfix) with ESMTP id 6843E37B502 for ; Tue, 10 Oct 2000 13:15:00 -0700 (PDT) Received: (from lowell@localhost) by be-well.ilk.org (8.11.0/8.11.0) id e9AKEtv04849; Tue, 10 Oct 2000 16:14:55 -0400 (EDT) (envelope-from lowell) To: freebsd-questions@freebsd.org Subject: Re: Cronjob help References: <39E34A7F.124049C9@exit1.com> <20001010100010.U272@fw.wintelcom.net> From: Lowell Gilbert Date: 10 Oct 2000 16:14:55 -0400 In-Reply-To: bright@wintelcom.net's message of "10 Oct 2000 19:00:36 +0200" Message-ID: <444s2kcv28.fsf@lowellg.ne.mediaone.net> Lines: 20 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bright@wintelcom.net (Alfred Perlstein) writes: > * 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