hi all....
i want to test my tomcat connection with telnet, if the tomcat failed to respon, it will send the warning email to administrator.
I want this to run automatically with script, any suggestion from the expert.

Thx.