littleclown Posted December 7, 2006 Share Posted December 7, 2006 This is the situation. I have a remote PC - big important server. On this server run several important processes. Net Send is disabled for this net. I need to know when some of this processes is down, and manually start it. I wont some script to send me a message when this is happen. 10x. Link to comment Share on other sites More sharing options...
NeoFoX Posted December 7, 2006 Share Posted December 7, 2006 Read the helpfile somethings you can use:process exists or not?if not:Run processand send msg:_INetSmtpMail Neo [center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center] Link to comment Share on other sites More sharing options...
littleclown Posted December 7, 2006 Author Share Posted December 7, 2006 This is good for some situations but the server is not connected to the Internet, and the smtp ports is disabled. Link to comment Share on other sites More sharing options...
NeoFoX Posted December 7, 2006 Share Posted December 7, 2006 you could use the TCPsend command... Neo [center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center] Link to comment Share on other sites More sharing options...
The Kandie Man Posted December 7, 2006 Share Posted December 7, 2006 (edited) If it isn't connected to the internet and everything is disabled, then how do you expect it to send a message to you? Are you sitting at this server? What types of protocols aren't disabled by this network that this server is on? Have you started working on a script that we could see and help you with? I would like to help you, i just don't have enough information. Edited December 7, 2006 by The Kandie Man "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
littleclown Posted December 7, 2006 Author Share Posted December 7, 2006 Success! I just use ini file and write it in share directory. The server write the status in the ini and the client read it. This procedure is loop and sleep time is 5-6 min. 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