Use monit
-Chad From: [email protected] [mailto:[email protected]] On Behalf Of bodo Sent: Thursday, January 17, 2013 2:24 PM To: [email protected] Subject: Re: [nodejs] How to send email when script js restarted ??? How to do that ? restart is an action, is not event (for ex: forever restart server.js) On Thursday, January 17, 2013 7:59:19 PM UTC+1, Alan Hoffmeister wrote: I think you can listen for the "restart" event using forever, this way you can send some e-mail when the script restarts. -- Att, Alan Hoffmeister 2013/1/17 bodo <[email protected] <javascript:> > I use supervisor and forever to launch script node. When script is crashed, supervisor or forever restart script auto. I want to send mail when script is restarted to know what happened. How to do that ? Thank you for any help -- 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] <javascript:> To unsubscribe from this group, send email to [email protected] <javascript:> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en -- 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 -- 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
