VJD Posted February 19, 2007 Share Posted February 19, 2007 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 Link to comment Share on other sites More sharing options...
herewasplato Posted February 20, 2007 Share Posted February 20, 2007 Welcome to the forum.Search the forum for ping and you will find posts like:http://www.autoitscript.com/forum/index.ph...st&p=302531which shows a simple way to use the ping info...Use the info in the FAQ - see Q9http://www.autoitscript.com/forum/index.ph...st&p=253174for restarting the remote systemUse Sleep() to wait as long as you want.Post your code if you have trouble. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
VJD Posted February 20, 2007 Author Share Posted February 20, 2007 Welcome to the forum.Search the forum for ping and you will find posts like:http://www.autoitscript.com/forum/index.ph...st&p=302531which shows a simple way to use the ping info...Use the info in the FAQ - see Q9http://www.autoitscript.com/forum/index.ph...st&p=253174for restarting the remote systemUse 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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now