From owner-freebsd-questions Fri Feb 23 23:30:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nbrewer.com (sparge.nbrewer.com [208.42.68.70]) by hub.freebsd.org (Postfix) with ESMTP id C796F37B4EC for ; Fri, 23 Feb 2001 23:30:17 -0800 (PST) (envelope-from chris@nbrewer.com) Received: by mail.nbrewer.com (Postfix, from userid 1009) id 276EF16E; Sat, 24 Feb 2001 01:30:11 -0600 (CST) Date: Sat, 24 Feb 2001 01:30:11 -0600 From: Christopher Farley To: Matthew Emmerton Cc: freebsd-questions@FreeBSD.ORG Subject: Re: crontab for root Message-ID: <20010224013010.B10279@northernbrewer.com> Mail-Followup-To: Christopher Farley , Matthew Emmerton , freebsd-questions@FreeBSD.ORG References: <20010223205013.U87083@dell.dannyland.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from matt@gsicomp.on.ca on Sat, Feb 24, 2001 at 12:04:15AM -0500 Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Emmerton (matt@gsicomp.on.ca) wrote: > This means that I have *two* root crontabs - the standard one in > /etc/crontab, and my custom one in /var/cron/tabs/root. > > Is there anything wrong with this type of setup? More importantly, why > would you add 'custom' mods to /etc/crontab when you can use 'crontab -e' > to update the one in /var/cron/tabs/root? (The advantage I've seen is that > when you upgrade, all of your custom mods to root's crontab won't be blown > away if you accidentally install the /usr/src version of /etc/crontab.) Two crontabs? I think you are being far too simplistic. You ought to keep jobs scattered about in root's personal crontab, /etc/crontab, *and* in /etc/periodic/*. Why would you want to make life easy for those who would inherit your job? -- Christopher Farley www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message