Hi everyone. Im currently developing a perl script to connect and send a
command to an ftp server and return the answer.
Everything works, BUT if the remote server doesn't allow me to connect I get
this error msg:
site: Fatal error: max-retries exceeded

Is there any switch or parameter to NOT send this kind of errors? Because
that sort of error messages makes crond to send a mail to the user I run my
script as, because it detects as an "error". If I run the script "by hand" I
get those errors too, but the script continues to run until its done.

I tried with "debug off -o /dev/null", no luck there. 

So is it possible to turn off this sort of errors without editing out the
event rising code about errors from the source code?



/ Fredrik Arnell


Reply via email to