Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 611 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 611 Bytes

This is a sample Node.js application (sending email if any data is in db) that can be used as a task for Heroku Scheduler.

You can read details on Rafal Spacjer's blog

This fork runs the script as an npm script. Although my initial motivation was a matter of personal preference, the practical value is that this method is platform independent. The "shebang" method will only work on platforms where a shebang is supported (i.e. probably not Windows)