I am not a big perl programmer.  
I wrote a script some time back and now I have to add more to it.

What I have to do is this.

1)  Stop 2 applications.
2)  If they don't stop kill them.
3)  Sync up all my web content (I have the script that does all this in
place)
4)  Clear out application #1 log file.
5)  Start application #1 back up.
6)  Look at application #1 log file for a certain string.
7)  When you find the string start application #2.
8)  Send a mail when both applications are started. 
9)  If you don't find the string in application #1 log file after 10min
exit the script and send an e-mail that something broke.

Any thoughts?

Thanks !!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to