Jump to content

Software that is monitoring the Internet connection ?


Recommended Posts

Posted

Anyone knows of a software that is checking the internet connection ?? Like (pinging google every 5 min and making a log of this ?? )

Thanks


Posted (edited)

Monitor.bat:

:Again
ping -n 1 google.com ¦ find "TTL=" >NUL
if errorlevel 1 goto Fail
echo OK %DATE% %TIME% >>logfile.txt
goto Wait
:Fail
echo FAIL %DATE% %TIME% >>logfile.txt
:Wait
ping -n 300 127.0.0.1 >NUL
goto Again

Edited by Mijzelf
Posted

Technically, if we're testing a network connection with this, it would be wise to include the packet size:

ping -l 1500 -n 1 google.com

or

ping -l 1492 -n 1 google.com

Posted

I copied and i create the batch file, but for some reason it fails from the beginning. !? and the inet works here

Posted (edited)

Hmm. Some character translation error. In the file, retype the |.

/Edit. Too late.

You're welcome.

Edited by Mijzelf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...