From owner-freebsd-questions Mon Nov 5 7:59:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 9573937B405 for ; Mon, 5 Nov 2001 07:59:19 -0800 (PST) Received: from sageone (adsl-208-191-227-27.dsl.crchtx.swbell.net [208.191.227.27]) by sage-american.com (8.9.3/8.9.3) with SMTP id JAA12997; Mon, 5 Nov 2001 09:58:58 -0600 (CST) Message-Id: <3.0.5.32.20011105095910.01006480@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 05 Nov 2001 09:59:10 -0600 To: Cliff Sarginson , freebsd-questions@FreeBSD.ORG From: jacks@sage-american.com Subject: Re: A cron job to run every 4 weeks In-Reply-To: <20011105163350.A4161@raggedclown.net> References: <20011105161130.C3639@raggedclown.net> <512fe501a6.501a6512fe@mbox.com.au> <3.0.5.32.20011105075659.01006480@mail.sage-american.com> <008201c16607$1e2f5ff0$fa01a8c0@ABERRATION> <20011105161130.C3639@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Cliff: What exactly would the "at" lines be that preceded a command, as an example.... I would be interested in that myself. At 04:33 PM 11.5.2001 +0100, Cliff Sarginson wrote: >On Mon, Nov 05, 2001 at 04:11:30PM +0100, Cliff Sarginson wrote: >> Hello, >> >> Use "at". >> Write the script to do the job you require. >> Using "at" set it to run for the first occasion. >> As the last statement in the script call "at" again >> with a time specification of >> "now + 28 days" >> >Actually you want the new call to "at" as the first line >of the script, not the last. Otherwise it will run >increasingly later on the day in question ! >So if the script takes 10 minutes to run it will run >10 minutes later each time..if you see what I mean. > >> -- >> Regards >> Cliff > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message