Thank you for all your help.
I will try all your suggestions and will post the solution that worked for 
me.
Thanks again.

On Thursday, 26 September 2013 13:33:54 UTC+5:30, vaibhav mande wrote:
>
> Hi,
>
> I have a working node application.
> I am using screen to run the node application so that it stays alive.
> My application also uses express and node-mysql to execute few mysql 
> queries.
>
> I want a way so that whenever the node process stops a notification should 
> be sent
> The notification can be anything like logging in a log file a simple text 
> saying server stopped.
>
> I tried, 
> process.on('exit', function(){
>  //notification logic here..
> });
>
> but this doesn`t work.
>
> Any help will be appreciated.
>
> Thank you.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to