From owner-freebsd-hackers Sun Jan 3 15:30:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21553 for freebsd-hackers-outgoing; Sun, 3 Jan 1999 15:30:32 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cserv.oksys.bg (ppp3.bulinfo.net [195.10.36.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21546 for ; Sun, 3 Jan 1999 15:30:21 -0800 (PST) (envelope-from ian@bulinfo.net) Received: from bulinfo.net (cserv.oksys.bg [192.72.180.21]) by cserv.oksys.bg (8.8.8/8.8.8) with ESMTP id BAA25912; Mon, 4 Jan 1999 01:29:06 +0200 (EET) (envelope-from ian@bulinfo.net) Message-ID: <368FFD42.F849603C@bulinfo.net> Date: Mon, 04 Jan 1999 01:29:06 +0200 From: Yani Brankov Organization: ok systems X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-STABLE i386) X-Accept-Language: bg, en MIME-Version: 1.0 To: "Stephen J. Roznowski" , hackers@FreeBSD.ORG Subject: Re: Why is root's crontab different? References: <199901032313.SAA04829@istari.home.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Stephen J. Roznowski" wrote: > > > From: Yani Brankov > > > > "Stephen J. Roznowski" wrote: > > > > > > My question is why is root's crontab entry treated differently (i.e. > > > a file in /etc) as opposed to just having a crontab (in /var/cron/tabs)? > > > > > > > /var/cron/tabs/root contains the root user crontab settings and > > /var/crontab contains system crontab settings. > > it's for convenience I think. > > [Not trying to be argumentative....] > > In the case of the "default" files, what is the difference? > /usr/src/etc/crontab only contains entries for root, no other users. > [Isn't root synonymous with "system crontab settings" in this case?] > In this case - yes, but you may add entries for any user there. /etc/crontab duplicates the role of the user crontabs, but anyway I think it's more convenient to have all the necessary system crontab entries in one file. -- When the people talk about computers, the word Microsoft is the most frequently used one. Guess why? :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message