telemorgan
MIS
I am looking to write a script that will do the following.
The script, running on server-A will do a continuous ping over to server-B. If the ping between the two servers is successful then take no action but if the ping fails, I need to log the time that it fails and also log the time that it becomes successful again.
It seems pretty simple in theroy but batch scripting is not my strong suit. Can anyone help with this?
Thanks
The script, running on server-A will do a continuous ping over to server-B. If the ping between the two servers is successful then take no action but if the ping fails, I need to log the time that it fails and also log the time that it becomes successful again.
It seems pretty simple in theroy but batch scripting is not my strong suit. Can anyone help with this?
Thanks