Jump to content

Recommended Posts

Posted

Hi All,

Is there a way which I can Ping an IP address if it replys then send a reboot command, wait for it to come back and then run a script after 1 minute?

Basically:

Ping Server IP

If reply then send Reboot command

Keeping pinging untill server comes back up

Once server up wait 1 minute

Then run script

Any help is appriciated

Regards

VJ

Posted

Welcome to the forum.

Search the forum for ping and you will find posts like:

http://www.autoitscript.com/forum/index.ph...st&p=302531

which shows a simple way to use the ping info...

Use the info in the FAQ - see Q9

http://www.autoitscript.com/forum/index.ph...st&p=253174

for restarting the remote system

Use Sleep() to wait as long as you want.

Post your code if you have trouble.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

Welcome to the forum.

Search the forum for ping and you will find posts like:

http://www.autoitscript.com/forum/index.ph...st&p=302531

which shows a simple way to use the ping info...

Use the info in the FAQ - see Q9

http://www.autoitscript.com/forum/index.ph...st&p=253174

for restarting the remote system

Use Sleep() to wait as long as you want.

Post your code if you have trouble.

Working on A script right now!

Thanks for the advice!

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
×
×
  • Create New...