"James (Jim) Hatridge" wrote:
> Hi all;
>
> I'm using PPP at the command line to connect to my ISP. Sometimes it is
> very slow or worst it picks up the phone but does not make a connection.
>
> Does anyone have a script to delay my fetchpop & sendmails commands until
> there is a connection? Perhaps checks for a connection before it runs the
> rest of my script? Right now I first run ppp-on and then (by hand) run the
> rest of my script.
>
Did you check into the possibility of using diald or even the demand_dial
option of ppp? (ppp dial-on-demand displays an error with kernel 2.034 but
it does work). However, I've got diald set up here and then use crontab to
get and send mail 3 times a day. Works great here:-). BTW, you could also
possibly use the fetchmail -d option in which case it will remain sleeping
until a connection is made:)
--
cya l8r
Leon McClatchey
[EMAIL PROTECTED]
Linux User 78912 (Linux Box)
$100 invested at 7% interest for 100 years will become $100,000, at
which time it will be worth absolutely nothing.
-- Lazarus Long, "Time Enough for Love"
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html