Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-07-2005, 09:19 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,968

Help please...

Can anyone help me here? What I want to do:

Get a program that will ping a website like google or yahoo or something and if it cannot ping it for 5 minutes run a bat file to shutdown & restart the computer?

shutdown /r /t 20 /m \\[name] /c "Computer is shutting down" /f


For some reason if my cable connection goes down my computer will not automatically renew (since it's a static ip) & it looses the dns servers which cause it to think it's connected, but not actually be connected . AN easy way to fix it is to repair it from network connections but that seems more complcated for a script then to just ping somewhere and run a script if it fails..

Any programmers wanna have a go at this?
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:09 AM.




Powered by vBulletin®