Re: [Exim] Managing multiple spool_directories

Pàgina inicial
Delete this message
Reply to this message
Autor: Tamas TEVESZ
Data:  
A: Sheldon Hearn
CC: exim-users
Assumpte: Re: [Exim] Managing multiple spool_directories
On Wed, 5 Sep 2001, Sheldon Hearn wrote:

> nx=`ps -auxwww|grep -c 'exim -q'`
>
 > if test $nx -lt 190 ; then
 >     for i in `jot 10`; do
 >         ( /usr/local/sbin/exim -q & )
 >         sleep 30
 >     done
 > fi


that's a lot less effective than endre's version (as xargs is a bit
more intelligent than a simple for loop).

i'd add that one to the FAQ as well.

--
[-]