search for: http_tppnp

Displaying 1 result from an estimated 1 matches for "http_tppnp".

2014 Nov 04
6
automated smtp server check
I would like to set up a cron job to automatically check whether my mailserver and webserver are up, and tell me if they're not. This script tells me if my webserver is up: #!/bin/bash wget -q --tries=10 --timeout=20 --spider http://melvilletheatre.com if [[ $? -eq 0 ]]; then echo "Online" else echo "Offline" fi How can I do the something similar with my