From owner-freebsd-questions Sat Sep 18 9:42:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 07A4915032 for ; Sat, 18 Sep 1999 09:42:45 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id LAA86979; Sat, 18 Sep 1999 11:42:32 -0500 (CDT) (envelope-from dan) Date: Sat, 18 Sep 1999 11:42:32 -0500 From: Dan Nelson To: Graeme Tait Cc: Robin Huiser , freebsd-questions@freebsd.org Subject: Re: Cron keeps bugging me... Message-ID: <19990918114232.C85951@dan.emsphone.com> References: <199909171952.VAA43872@node10c55.a2000.nl> <19990917155231.A61093@dan.emsphone.com> <37E3DDE6.569E@echidna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre1i In-Reply-To: <37E3DDE6.569E@echidna.com> X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 18), Graeme Tait said: > 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. > > 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? Doesn't really matter. They get run the same way. You might want to check the list archives, though. I seem to remember a similar discussion. Aha. here it is. http://docs.FreeBSD.org/cgi/mid.cgi?db=mid&id=199606271712.KAA20736@meerkat.mole.org One of the posters in that thread had a broken mailer that didn't include References: headers, so you'll probably have to read the thread by subject (search for "crontab controversy"): http://docs.freebsd.org/mail/archive/1996/freebsd-questions/19960623.freebsd-questions.html -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message