From owner-freebsd-questions Fri Jul 19 15: 2: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1178437B400 for ; Fri, 19 Jul 2002 15:02:02 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6969643E42 for ; Fri, 19 Jul 2002 15:02:01 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g6JM20fD016152; Fri, 19 Jul 2002 17:02:00 -0500 (CDT) (envelope-from dan) Date: Fri, 19 Jul 2002 17:01:59 -0500 From: Dan Nelson To: Gary Jennejohn Cc: "Jack L. Stone" , Thomas Connolly , Freebsd-questions@FreeBSD.ORG Subject: Re: cron and cvsup Message-ID: <20020719220159.GA31880@dan.emsphone.com> References: <3.0.5.32.20020719155914.025dd7b8@mail.sage-one.net> <200207192147.g6JLl1xQ062615@peedub.jennejohn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207192147.g6JLl1xQ062615@peedub.jennejohn.org> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i 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 In the last episode (Jul 19), Gary Jennejohn said: > "Jack L. Stone" writes: > > Tom: For starters, here is a script with the cron below the script: > > > > cvsupscript > > #!/bin/sh > > /usr/local/bin/cvsup -g -L 2 /usr/src/sage-supfile > > I suggest adding -1 to the command line, otherwise cvsup will try > forever to connect on failure, resulting in massive numbers of cvsup's > running. I'm speaking from experience here, since I made that > mistake when I first added cvsup as a cron job. I also add "-l /tmp/cvs.LCK", to prevent multiple cvsups from running at the same time. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message