Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2005 21:45:49 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Daniel Bye <freebsd-questions@slightlystrange.org>
Cc:        Anthony Atkielski <atkielski.anthony@wanadoo.fr>
Subject:   Re: Who generates the daily, weekly, monthly reports on FreeBSD?
Message-ID:  <41F31DED.1010807@daleco.biz>
In-Reply-To: <20050122211606.GA18278@catflap.slightlystrange.org>
References:  <1811797765.20050122212403@wanadoo.fr> <41F2B71C.1060203@scii.nl> <1036176692.20050122220147@wanadoo.fr> <20050122211606.GA18278@catflap.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F31DED.1010807>