JoeHill ([EMAIL PROTECTED]) wrote:
> On Sun, 30 Jan 2005 15:52:19 -0500
> RickSisler disseminated the following:
> 
> > Any idea's ?
> 
> Change the script so that it is only run if fetchmail is *not* already 
> running.
> 
> Here's the one I use:
> 
> ps ax > ~/tmp/bashterm
> grep fetchmail ~/tmp/bashterm > /dev/null
> if [ $? -ne 0 ] ; then
> fetchmail
> fi
> 
> This is in my .bashrc under '#exec on startup', though, and don't ask me how 
> it
> works, I, as usual, copied and pasted it from somewhere.
> 
Thanks Joe, 
I was gonna get to some kind of test but that works. I am not sure
what I upgraded recently for this to start. It didn't do this last
week. But this test is a better idea, thanks.. 

-- 
RickS                              Registered Linux user #338463
Mdk 10.1 OE - Linux 2.6.8.1-12mdk        @ http://counter.li.org
================================================================
gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to