Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Bash / Shell Scripting (http://www.programmingforums.org/forum26.html)
-   -   Network Disconect Msg (http://www.programmingforums.org/showthread.php?t=1362)

jackjill Nov 30th, 2004 5:10 PM

hi all,

i am trying to make a shell script . i.e.
if the pc is disconnected from the network , make a msg appear in 20 sec, stating that website is not
available and ask the user to try again later. when the network is reconnected, the system should return
to the browser.

that's it.
please tell me how to solve this prob.

thankx in advance

Vorlin Feb 28th, 2005 5:20 PM

Actually, what you're refering to is failover for a web server and from what I've learned, that can't be done with a simple shell script. 3rd party programs along with two servers, etc...

Pizentios Mar 1st, 2005 8:46 AM

I think he was just talking about for his web browser on a desktop. However, pretty much every browser has a message pop up if it can't get to the page.

yeah also, post some code and we'll help you figure it out, but none of us are going to program anything for you.


All times are GMT -5. The time now is 5:30 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC