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 minutes before command start)
I want to double-check when the network team says "everything is alright on the network". So, I want to create a loop that pings the server and writes the result in a text file.
I am not a batch expert, but do you think this code is correct to use?
@ECHO OFF:LOOPSTARTtime /Tping xxx.xx.x.x -t >> filename.txtsleep -m 3000GOTO LOOPSTART