Update of /cvsroot/mhonarc/mharc/etc
In directory subversions:/tmp/cvs-serv22609
Modified Files:
crontab.in.dist
Added Files:
logrotate.conf.in.dist
Log Message:
logrotate(8) sample configuration for rotating cron and procmail logs.
***** Error reading new file: [Errno 2] No such file or directory: 'logrotate.conf.in.dist'
Index: crontab.in.dist
===================================================================
RCS file: /cvsroot/mhonarc/mharc/etc/crontab.in.dist,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** crontab.in.dist 2 Oct 2002 02:26:12 -0000 1.3
--- crontab.in.dist 9 Aug 2003 18:02:42 -0000 1.4
***************
*** 8,9 ****
--- 8,17 ----
57 1 * * 0 @@SW_ROOT@@/bin/logcmd -log @@SW_ROOT@@/log/cron.log -- @@SW_ROOT@@/bin/gc-search-indexes
57 3 * * 0 @@SW_ROOT@@/bin/logcmd -log @@SW_ROOT@@/log/cron.log -- @@SW_ROOT@@/bin/compress-mboxes
+ #
+ # Uncomment the following and edit pathname to logrotate(8) program
+ # if you want log rotation of mharc log files. The default frequency
+ # is once a week to match frequence of mharc provided logrotate.conf.
+ # Logrotate is provided under RedHat Linux and and other linux and
+ # Unix distros.
+ #
+ #57 2 * * 0 /usr/sbin/logrotate -s @@SW_ROOT@@/etc/logrotate.status @@SW_ROOT@@/etc/logrotate.conf
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV