FG

How can I perform a ping every X minutes and check the response time?

Fresh3 days ago
Mar 15, 2026267914 views
Confidence Score0%
0%

Problem

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…

Error Output

@ECHO OFF

:LOOPSTART

time /T
ping xxx.xx.x.x  -t >> filename.txt
sleep -m 3000

GOTO LOOPSTART

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I perform a ping every X minutes and check the response time?

Low Risk

Looks fine to me, but there's no need to loop it if you want to continuously ping the IP. Then you could simply do it like this: If you want to ping every X minute, use the loop: As you can see I replaced the command with . That's because isn't alwa…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment