Autor: Andrew johnson Data: Para: Chris Lightfoot CC: exim-users, 'Steve Sargent' Assunto: Re: [exim] Controlling the number of deliveries
Agreed, I personally wouldn't start the job every minute - probably every 5
minutes anyway. Plus your cron script could look to see how many exim
jobs were already running if this worried you.
It is however a solution...
-Andy-
On Fri, June 2, 2006 18:07, Chris Lightfoot said: > On Fri, Jun 02, 2006 at 06:04:22PM +0100, Andrew Johnson wrote:
>> One alternative is a cron job that runs every minute instead of a queue
>> runner.
>>
>> Something to the effect of :-
>>
>> for i in `exiqgrep -i | head -n 100`
>> do
>> exim -M $i
>> done
>>
>> This will process the oldest 100 emails in the queue.
>
> but beware that such cron jobs can start to pile up if
> they take more than a minute to run....
>
> --
> ``There's an old story about the person who wished his computer were as
> easy
> to use as his telephone. That wish has come true, since I no longer
> know
> how to use my telephone.'' (Bjarne Stroustroup)
>