From owner-freebsd-questions@FreeBSD.ORG Fri Sep 17 19:38:14 2004 Return-Path: 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 14FE916A4D1 for ; Fri, 17 Sep 2004 19:38:14 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDFAC43D2D for ; Fri, 17 Sep 2004 19:38:13 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 27893 invoked from network); 17 Sep 2004 19:38:13 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.no-ip.com) ([66.92.78.145]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Sep 2004 19:38:13 -0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 1B6B5E; Fri, 17 Sep 2004 15:38:13 -0400 (EDT) Sender: lowell@be-well.ilk.org To: "Steve Bertrand" References: <4185.209.167.16.15.1095428161.squirrel@209.167.16.15> From: Lowell Gilbert Date: 17 Sep 2004 15:38:12 -0400 In-Reply-To: <4185.209.167.16.15.1095428161.squirrel@209.167.16.15> Message-ID: <44656c3cuz.fsf@be-well.ilk.org> Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: Crontab file (root user) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 19:38:14 -0000 "Steve Bertrand" writes: > I'm wondering where the crontab is located for the root user. I know > there is the system crontab in /etc, however doing a #crontab -e when > su'd to root, it comes up with a different crontab. Right. Just as you said: the former is the system crontab, the latter is the root user's crontab. The former has an extra field that indicates which user to run a command as, the latter is exactly the same as any other user's crontab (and is stored in /var/cron/tabs just all the other user crontabs). I'm not quite sure what your confusion is: did my previous paragraph eliminate it?