From owner-freebsd-questions Sat Sep 18 8:46:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from loviatar.webcom.com (loviatar.webcom.com [209.1.28.41]) by hub.freebsd.org (Postfix) with ESMTP id 1253D14DB9 for ; Sat, 18 Sep 1999 08:46:52 -0700 (PDT) (envelope-from graeme@echidna.com) Received: from kigal.webcom.com (kigal.webcom.com [209.1.28.57]) by loviatar.webcom.com (8.9.1/8.9.1) with SMTP id IAA22173; Sat, 18 Sep 1999 08:46:50 -0700 Received: from [204.143.69.14] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 42223607; Sat Sep 18 08:41 PDT 1999 Message-Id: <37E3DDE6.569E@echidna.com> Date: Sat, 18 Sep 1999 11:45:58 -0700 From: Graeme Tait Organization: Echidna X-Mailer: Mozilla 2.02 (Win16; I) Mime-Version: 1.0 To: Dan Nelson Cc: Robin Huiser , freebsd-questions@freebsd.org Subject: Re: Cron keeps bugging me... References: <199909171952.VAA43872@node10c55.a2000.nl> <19990917155231.A61093@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson wrote: > Aha. There is a difference between the "crontab for root" and the > "system crontab". The system crontab has an extra field (the "who" > field) that tells cron what user to run the job as. The system crontab > lives in /etc/crontab and is not edited via the "crontab -e" command. > You simply edit /etc/crontab. > > I don't know how you managed to get the system crontab into the crontab > for the root user, but put it back into /etc/crontab where it belongs :) > The crontab for the root user is usually empty. A related question - I've made crontab files for users, but now need to have a task run as root by cron. Should I edit the system crontab, or make a new crontab for root? Does it make a difference which way I do it? -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message