Andrew M. Bishop wrote:
> Felix Karpfen <[EMAIL PROTECTED]> writes:
> 
> > 
> > What sort of checks need to be added to the basic script to kill
> > processes that have stalled?
> 
> An alternative, or an addition, is to have a failsafe.  Another
> crontab that runs as root and which does 'killall pppd' at say 3:30 

Thank you for the advice.

I am a "belt and braces" man and had intended to put a separate logoff
command into crontab.

On my box that command is :

 /usr/local/ppp-2.4.1/scripts/ppp-off

Is there any benefit to use "killall"?

As flagged, it is relatively simple to write a script that assumes that
everything does what it should; allowing for louse-ups is a very
different story.

I have encountered situations in which everything freezes and the only
remedy was "Ctrl + Alt + Del".  Also, I believe that my ISP sends a
signal every minute or so, so that the connection to him remains alive
while time is being devoted to reading what has been downloaded rather
than actively downloading material.  And, I suspect that I am not the
only person who has had unpleasant experiences when using WWWOFFLE
to fetch pages from the New York Times.  Lastly there is the scenario
where the download works but is either very large or woefully slow.

All these situations are readily dealt with if I am on deck - but not if
I am fast asleep. Will a logoff command in crontab deal with a total
freeze; or do I learn to grin and bear it when it happens?

I gambled that other users of WWWOFFLE had already encountered and
solved these problems and am eager to " not reinvent the wheel".

Felix Karpfen 
-- 
Felix Karpfen
[EMAIL PROTECTED]
Public Key 72FDF9DF (DH/DSA)


Reply via email to