How can I perform a ping every X minuts and check the response time?
- by Profete162
I am currently working in a big company and we have serious latency issues.
This is happening in a process control system, and is unacceptable (Open a valve sometimes take 2 minuts before command start)
The Network team seems very lazy and I want to check when they say "everything alright on the network".
So, I want to create a loop that ping the server and write the result in a text file.
I am not a batch expert, but do you think this code is correct to use?
@ECHO OFF
:LOOPSTART
time /T
ping xxx.xx.x.x -t >> filename.txt
sleep -m 3000
GOTO LOOPSTART