Skip to content

A Watchdog timer that can be set using HTTP GET requests and sends alerts via SendGrid, implemented for easy Heroku deployment.

License

Notifications You must be signed in to change notification settings

jareklupinski/watchdog-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏰ 🐕 . 📧

Watchdog.Email

Full source code for http://watchdog.email

Inspired by a lack of simple watchdog timers, I set out to see what makes them so difficult.

Currently deployed to Heroku with the following Free Apps:

  • Heroku Redis
  • Heroku Scheduler
  • Papertrail
  • SendGrid

3 Free Dynos are used to run the service:

  • web - handles frontend http requests
  • worker - sends an email if the watchdog fired
  • timer - pings the web dyno to wake it up once per hour

Heroku's idling rules tell a worker dyno to go to sleep when its associated web dyno sleeps. 🤷

About

A Watchdog timer that can be set using HTTP GET requests and sends alerts via SendGrid, implemented for easy Heroku deployment.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project