From owner-freebsd-questions Fri Mar 9 3:24:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gscamnlm03.wr.usgs.gov (gscamnlm03.wr.usgs.gov [130.118.4.113]) by hub.freebsd.org (Postfix) with ESMTP id A192037B719; Fri, 9 Mar 2001 03:24:24 -0800 (PST) (envelope-from rsowders@usgs.gov) To: Mike Meyer Cc: owner-freebsd-questions@FreeBSD.ORG, "Ben Compton" , questions@freebsd.org Subject: Re: Crontab Question X-Mailer: Lotus Notes Release 5.0.3 March 21, 2000 Message-ID: From: "Robert L Sowders" Date: Fri, 9 Mar 2001 03:24:17 -0800 X-MIMETrack: Serialize by Router on gscamnlm03/SERVER/USGS/DOI(Release 5.0.3 |March 21, 2000) at 03/09/2001 03:24:27 AM, Serialize complete at 03/09/2001 03:24:27 AM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Easy way to cvsup, Copy the relevant cvsup parts from /etc/defaults/make.conf to /etc/make.conf Edit to your taste cd /usr/src make update. Easier to cron this way. Mike Meyer Sent by: owner-freebsd-questions@FreeBSD.ORG 03/09/2001 12:13 AM To: "Ben Compton" cc: questions@freebsd.org Subject: Re: Crontab Question Ben Compton types: > This is a multi-part message in MIME format. Please don't do that - I have no idea what to do with an application/ms-tnef data file on my FreeBSD box. > ------=_NextPart_000_001C_01C0A80F.0B049780 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > > Quick question....could someone point me to a good site on the Internet with > a tutorial of Crontabs? I want to set up a cron job to cvsup my ports > collection every night and I always seem to have a pain setting crontabs. I > need to know where to include this in the crontab file for root in /etc and > if not where should I set it up? Might I suggest you look into periodic instead of cron for this? Basically, write a shell script to do the cvsup, then drop it into /usr/local/etc/periodic/daily. That way, the cvsup gets integrated into the rest of the daily system processing, and you can be absolutely sure it runs before (or after, if you wish) your daily backups. > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message