Why dont you just leave ping on ? On Linux, by default ping continuously pings until you hit CTRL C.
On Fri, Oct 2, 2009 at 1:08 AM, anuj agarwal <[email protected]> wrote: > Hi, > > I am trying to create a script which will send an email to the user stating > that server is UP when it is UP. We have a script "pingServer" which can be > used to check whether it is UP or not(it will show the server state as UP or > DOWN) but we need to execute it many times till it shows UP. > > Please provide your suggestions. > > Anuj Agarwal > +91-9923111896 > SME > DVCI AMDOCS, > Tower 2, Cybercity, > Magarpatta City, > Pune > > Engineering is the art of making what you want from things you can get. > > > > -- Penguin, penguin, and more penguin. Believe that within the brain is a brain, and within it another brain, and so on and so forth. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
