Re: fetchmail
On Mon, 28 Jun 1999, Heiss Konrad wrote:
> please help
>
> I have a Problem with fetchmail and my dialup connection to the ISP.
> following problem:
> Question:
> is it possible, to tell fetchmail to wait, until the dialup connection is
> powerd up???
>
Can't you use the following script:
--- CUT HERE ---
#!/bin/bash
#start ppp
start_connecting
#wait until established
while [ -z "`ifconfig | grep ppp`" ]; do
sleep 1
done
#asure that the connection is really established
sleep 2
#download what we want
fetchmail
#asure that all queues are flushed
sleep 2
#close us
close_connection
--- CUT HERE ---
???
It seem to work fine :-)))
Regards,
Greg
***************************************************************************
* Grzegorz Stelmaszek * For my public PGP key finger
* greg@tenet.pl * greg@tenet.pl
* http://www.tenet.pl * 18 E9 5E 6D 78 F0 11 F2
****************************** 45 CF CF 63 77 C0 A4 20
>>> Microsoft Certified Professional <<<
Reply to:
- References:
- fetchmail
- From: Heiss Konrad <konrad.heiss@tiwag.co.at>