From owner-freebsd-questions@FreeBSD.ORG Sun Jan 23 03:45:54 2005 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 9F3F816A4CE for ; Sun, 23 Jan 2005 03:45:54 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4541D43D46 for ; Sun, 23 Jan 2005 03:45:54 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 22 Jan 2005 21:45:40 -0600 Message-ID: <41F31DED.1010807@daleco.biz> Date: Sat, 22 Jan 2005 21:45:49 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Bye References: <1811797765.20050122212403@wanadoo.fr> <41F2B71C.1060203@scii.nl> <1036176692.20050122220147@wanadoo.fr> <20050122211606.GA18278@catflap.slightlystrange.org> In-Reply-To: <20050122211606.GA18278@catflap.slightlystrange.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Jan 2005 03:45:40.0939 (UTC) FILETIME=[024051B0:01C500FE] cc: freebsd-questions@freebsd.org cc: Anthony Atkielski Subject: Re: Who generates the daily, weekly, monthly reports on FreeBSD? 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: Sun, 23 Jan 2005 03:45:54 -0000 Daniel Bye wrote: >On Sat, Jan 22, 2005 at 10:01:47PM +0100, Anthony Atkielski wrote: > > >>albi writes: >> >>a> check the /etc/periodic/ dir >> >>I've seen it. But where does it run from? Supposedly you're not >>supposed to modify crontab files directly, but where do these jobs >>belong if crontab -l from root won't list them. Is there some sort of >>"system" crontab in addition to those for root and other users, or how >>does it work? >> >> > >/etc/crontab is indeed the "system" crontab. You can safely edit this >one by hand. > >The following three lines are the ones you're interested in: > ># Perform daily/weekly/monthly maintenance. >1 3 * * * root periodic daily >15 4 * * 6 root periodic weekly >30 5 1 * * root periodic monthly > >Note the additional field, before the command is named. It determines >which user the command runs as. > >See crontab(5) for more details. > >Dan > > > As well as periodic(8), which is an excellent exposition on the subject (if you read manpages at all ... it's real nice compared to some :-) Kevin Kinsey