mharc-users

Re: mharc cron

2003-06-25 10:12:59
(Note, use the mharc-users(_at_)mhonarc(_dot_)org list for mharc specific 
question.
 This reply is being directed to mharc-users.)

On June 24, 2003 at 20:05, "John Kim" wrote:

is there a way of running mharc automatically but without using cron?
i don't want to have a cron job running but would like to automatically
archive the list.  i know the frequency of the cron job can be adjusted
but would prefer something like what the mhonarc documents have
(inserting a command in the .forward file to archive when a new mail 
arrives)

I would not recommend this.  Archiving messages takes some time,
mainly due to updating the search index.  Therefore, if you are
kicking of the archiving script each time a message arrives, your
system will get bottlenecked.

The only way it would not is if messages come in very slowly.  But
since you are using mharc, I'm assuming this is not the case.

You could do some hacking to disable search index updates when new
messages are processed and have the search index done via cron.
Of course, there will be a period where the newest messages will not
be in the search index until cron kicks off the index update.

I do not specifics of your setup and what your goals are, but maybe
mharc is not quite suited for what you need if you want real-time
updates.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>
  • Re: mharc cron, Earl Hood <=