stream-mailer
v0.1.3
Published
Send an email when a regex pattern appear in a stream
Readme
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 [email protected]
tail .weechat/logs/* | node server.jsRun as daemon
forever start -c sh bin/start-production.sh