Who generates the daily, weekly, monthly reports on FreeBSD?

2005-01-22 Thread Anthony Atkielski
Speaking of reports, how do the daily, monthly, and weekly reports
output by FreeBSD get generated?  I see nothing when I do a crontab -l
from root, but there's stuff under /etc/crontab.  Is there a schedule of
cron stuff that gets run independently of any user, or how does it work?
If I wanted to change when or how these reports are generated (I don't
currently, but suppose I did), where would I go to modify it, since it
doesn't seem to be part of root's crontab?

-- 
Anthony


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Who generates the daily, weekly, monthly reports on FreeBSD?

2005-01-22 Thread albi
Anthony Atkielski wrote:
Speaking of reports, how do the daily, monthly, and weekly reports
output by FreeBSD get generated?  I see nothing when I do a crontab -l
from root, but there's stuff under /etc/crontab.  
check the /etc/periodic/ dir
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Who generates the daily, weekly, monthly reports on FreeBSD?

2005-01-22 Thread Anthony Atkielski
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?

-- 
Anthony


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Who generates the daily, weekly, monthly reports on FreeBSD?

2005-01-22 Thread Daniel Bye
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   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic 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

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpKRxZceWtFk.pgp
Description: PGP signature


Re: Who generates the daily, weekly, monthly reports on FreeBSD?

2005-01-22 Thread Gardner Bell
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?
 
The files from /etc/periodic run from /etc/crontab.  Refer to lines
20-22

Gardner 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Who generates the daily, weekly, monthly reports on FreeBSD?

2005-01-22 Thread Kevin Kinsey
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   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]