# Best cron job method for email notifications?

**URL:** <https://www.ruby-forum.com/t/best-cron-job-method-for-email-notifications/135919>\
**Category:** Rails\
**Created:** [April 26, 2008, 10:39am UTC](https://www.ruby-forum.com/t/best-cron-job-method-for-email-notifications/135919 "2008-04-26T10:39:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AtsoK](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@AtsoK](https://www.ruby-forum.com/u/AtsoK)\
**Post date:** [April 26, 2008, 10:39am UTC](https://www.ruby-forum.com/t/best-cron-job-method-for-email-notifications/135919/1 "2008-04-26T10:39:18Z")

</div>

There are so many ways to do cron jobs in Rails (Backgroundrb, script/  
runner, etc.) but I am wondering what would be the best to use in  
production, just for sending out email/SMS notifications? For example,  
an email automatically gets sent a day before the due date of a  
project milestone.

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![AtsoK](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@AtsoK](https://www.ruby-forum.com/u/AtsoK)\
**Post date:** [May 7, 2008, 7:05am UTC](https://www.ruby-forum.com/t/best-cron-job-method-for-email-notifications/135919/2 "2008-05-07T07:05:54Z")

</div>

I’ve tried BackgroundDRB but wasn’t too pleased with it on large-scale  
application, it runs slowly, but on small-sized it works just fine.

The solution that works best for me is having rake tasks called from  
cron jobs.

–  
Thiago J.  
[http://www.railsfreaks.com](http://www.railsfreaks.com)
