SmartCode Solutions Web Forum




Remote Restart on the Local Computer

Author Message
 Posted Friday, March 18, 2005
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Monday, May 07, 2012
Posts: 208, Visits: 233
Sometimes my servers stop up and you have to locally re-boot them for them to comeback online. Is there some type of script on the web or something that will run that if someting isn't pingable then the computer will automically restart?
Post #275
Add to Twitter Add to Facebook
 Posted Friday, March 18, 2005
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, August 10, 2005
Posts: 22, Visits: 2
How do they stop up? Is there an easy way to check to see if the computer is stopped up? Does using the remote reboot from VNC Manager not work?

Thanks for answering these questions,




--------

Adam Moore
Public Relations Coordinator
SmartCode Solutions
adam_moore@s-code.com
Post #276
Add to Twitter Add to Facebook
 Posted Friday, March 18, 2005
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Monday, May 07, 2012
Posts: 208, Visits: 233
I really don't know why my server freezes up sometimes.... But it is nice for IIS to work properly but after it is frozen the VNC remote reboot dosen't work becuase I can't get to the computer I can't even ping it. So I was wondering if there is a program that would reside on the server that would maintain things and it would stay alert and if the system can't ping or iis stops working then it will automacially reboot the server.
Post #277
Add to Twitter Add to Facebook
 Posted Saturday, March 19, 2005
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, August 10, 2005
Posts: 22, Visits: 2

If you were on that server when it is not working can you get out to the internet?  Or does IIS just stop working?  So if the server could not ping lets say www.yahoo.com then you would want it to reboot?  Does this sound correct?





--------

Adam Moore
Public Relations Coordinator
SmartCode Solutions
adam_moore@s-code.com
Post #278
Add to Twitter Add to Facebook
 Posted Saturday, March 19, 2005
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Monday, May 07, 2012
Posts: 208, Visits: 233
Yes..
Post #279
Add to Twitter Add to Facebook
 Posted Sunday, March 20, 2005
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, August 10, 2005
Posts: 22, Visits: 2
Here is a script that should do it. Let me explain what it does. It will ping www.yahoo.com and if it doesn't get a reply it will ping www.msn.com. If it still doesn't get a reply it will restart the server. If after restart it still doesn't get a reply it closes itself so to not restart the server continually. If it gets a reply it will wait 10 minutes and try again.

If you want to set the time yourself you can run the program like this

Auto_Restart.exe 50

50 is the amount of seconds you want to wait. So in this case it is 50 seconds.

The computer will have to be logged in for this to work. Put it in the startup folder to start it everytime the computer is logged in.

Program is attached. There is absolutely 0 warranty on this product. I don't guarantee that it will work and there is no promise of support for it.

For further consultation or more enhanced products please contact us for our rates.

Thank you very much,




--------

Adam Moore
Public Relations Coordinator
SmartCode Solutions
adam_moore@s-code.com


 auto_restart.zip (438 views, 111.76 KB)
Post #280
Add to Twitter Add to Facebook
 Posted Monday, March 21, 2005
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Monday, May 07, 2012
Posts: 208, Visits: 233
Thanks... is there any possible way to get the source code also?
Post #281
Add to Twitter Add to Facebook
 Posted Monday, March 21, 2005
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, August 10, 2005
Posts: 22, Visits: 2
Please contact me via my e-mail address. adam_moore@s-code.com and we will discuss specific details.

Thank you,




--------

Adam Moore
Public Relations Coordinator
SmartCode Solutions
adam_moore@s-code.com
Post #282
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse