From owner-freebsd-questions Wed Apr 21 6:30:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from askas.co.za (unknown [196.7.216.242]) by hub.freebsd.org (Postfix) with ESMTP id 2042114FB8 for ; Wed, 21 Apr 1999 06:30:04 -0700 (PDT) (envelope-from rudi@askas.co.za) Received: from askas.co.za(mirror[196.7.216.244]) (2085 bytes) by askas.co.za via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) id for ; Wed, 21 Apr 1999 15:48:01 +0200 (SAST) (Smail-3.2.0.101 1997-Dec-17 #1 built 1998-Mar-22) Message-ID: <371DD21A.F413A3F7@askas.co.za> Date: Wed, 21 Apr 1999 15:26:50 +0200 From: Rudi Opperman X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Stefano Riva Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: help with cron and crontab mail messages References: <3.0.5.32.19990421150955.00aa1550@relay.alice.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the help - have payed around a bit and it is making more sense... just a few more issues ... > /etc/crontab it's in a slightly different format than users' crontab. > Actually, it's the "main" system crontab table. If it is not a user's crontab then whose is it ? (All the jobs are owned by root ?) > IMO, it would be better to use it instead of specific users' tables,whenever > possible, because it's easier to manage the system's global load when you > have many demanding timed tasks; there's one single point where you can see > and modify what is scheduled to run. This seems a good idea > What do you mean with "I added the jobs to /etc/crontab and loaded it"? I meant as root that i ran "contab -u root /etc/crontab" on the modified crontab file ... > You don't have to load anything. If cron is running normally, it checks > every minute the modtime of /etc/crontab and, if it's changed, loads it > automagically. Does this also apply to user crontabs (supposing one decides to use them ?) ...[snip]... > I don't see why you started to get those messages from atrun after adding > other jobs to /etc/crontab. After editing the system crontab i ran "contab -u root /etc/crontab" ... so i loaded the system crontab as root's... I suppose that answers part of the first question - the default crontab does not belong to root - who then ? bye rudi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message