Skip to content

An example of Node.js application that can be use as a Heroku Scheduler task. The app sends email (using SendGrid) if there are any data in Heroku Postgres db.

Notifications You must be signed in to change notification settings

natchiketa/notyfication-sender

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

An example of Node.js application that can be use as a Heroku Scheduler task. The app sends email (using SendGrid) if there are any data in Heroku Postgres db.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 100.0%