0.1.3 • Published 12 years ago
stream-mailer v0.1.3
stream-mailer
Send an email when a regex pattern appear in a stream
Install
npm install stream-mailerConfigure pattern to search for and Email credentials (config.js)
cp config.example.js config.jsUsage
According to config.js, we will find all "hello kitty" strings in any logs files in .weechat folder and send email to kitty@gmail.com
tail .weechat/logs/* | node server.jsRun as daemon
forever start -c sh bin/start-production.sh