Script for ping one time a minute.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want make a script that ping a specific ip (for maintain a vpn tullel up)
one time a minute. I don't want schedule a task but i want realize a script
that run for ever and sleep a minute and after ping wait a minute and ping
.....

How can i realize a sleep function?

I can use wsh or vbs or batch

Thank's
 
Massimo said:
I want make a script that ping a specific ip (for maintain a vpn tullel up)
one time a minute. I don't want schedule a task but i want realize a script
that run for ever and sleep a minute and after ping wait a minute and ping
....

How can i realize a sleep function?

I can use wsh or vbs or batch

Thank's

You can use ping.exe!

@echo off
:again
ping www.google.com
ping localhost -n 60 > nul
goto again
 
Back
Top