| 1 | # $Id: crontab.in.dist,v 1.4 2003/08/09 18:02:42 ehood Exp $ |
| 2 | # Template crontab for archive user. Messages are processed on |
| 3 | # an hourly basis. However, for one day of the week new message |
| 4 | # processing is not done to allow for cleanup. |
| 5 | # |
| 6 | 57 * * * 1-6 @@SW_ROOT@@/bin/logcmd -log @@SW_ROOT@@/log/cron.log -- @@SW_ROOT@@/bin/read-mail |
| 7 | 57 0,4-23 * * 0 @@SW_ROOT@@/bin/logcmd -log @@SW_ROOT@@/log/cron.log -- @@SW_ROOT@@/bin/read-mail |
| 8 | 57 1 * * 0 @@SW_ROOT@@/bin/logcmd -log @@SW_ROOT@@/log/cron.log -- @@SW_ROOT@@/bin/gc-search-indexes |
| 9 | 57 3 * * 0 @@SW_ROOT@@/bin/logcmd -log @@SW_ROOT@@/log/cron.log -- @@SW_ROOT@@/bin/compress-mboxes |
| 10 | # |
| 11 | # Uncomment the following and edit pathname to logrotate(8) program |
| 12 | # if you want log rotation of mharc log files. The default frequency |
| 13 | # is once a week to match frequence of mharc provided logrotate.conf. |
| 14 | # Logrotate is provided under RedHat Linux and and other linux and |
| 15 | # Unix distros. |
| 16 | # |
| 17 | #57 2 * * 0 /usr/sbin/logrotate -s @@SW_ROOT@@/etc/logrotate.status @@SW_ROOT@@/etc/logrotate.conf |