From owner-freebsd-questions Wed Oct 11 11:39:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 6766F37B673 for ; Wed, 11 Oct 2000 11:39:40 -0700 (PDT) Received: (qmail 66488 invoked by uid 100); 11 Oct 2000 18:39:39 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14820.46059.743717.697477@guru.mired.org> Date: Wed, 11 Oct 2000 13:39:39 -0500 (CDT) To: George Yobst Cc: questions@freebsd.org Subject: Re: Cron question In-Reply-To: <14344580@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG George Yobst writes: > Hi all, > How do I get cron to start a job on the first Sunday of the month? > Thanks -George By starting a wrapper every Sunday. The wrapper checks that the day of month and launches your job if it's less than 8: if [ `date +%d` -lt 8 ]; then realjob fi That's small enough to imbed in a cron file if you really wanted to.