Background Jobs with DJ on Heroku(blog.heroku.com)
blog.heroku.com
Background Jobs with DJ on Heroku
http://blog.heroku.com/archives/2009/7/15/background_jobs_with_dj_on_heroku/
3 comments
This is a really old post, see this update: http://blog.heroku.com/archives/2009/12/3/dj_has_evolved_int...
Yes - I actually was trying to work through the stuff above and it didn't quite 'click'. I'm also looking at 'other' frameworks that achieve the same thing...
Thanks for the update tho!
Thanks for the update tho!
heroku's awesome but the lack of minute or five minute cron is dealbreaker for me, thus i need my own servers to be able to schedule mailings
For sub-hour scheduled or recurring tasks, most users prefer a scheduled background task with DJ, rather than old-school cron. There are a bunch of ways to do this, for example:
Delayed::Job.enqueue(work, 0, Time.now + 5.minutes)
Docs: http://docs.heroku.com/delayed-jobGreat! I posted that hoping that there would be a solution. I've looked around delauyed job trying to find some scheduling funciton but I didn't look close enough it seems. Thanx!
You could have a cheapo server be the "timekeeper" that sends a web request every minute to a heroku app which in turn does whatever you need.
Great news!. I've started to use Heroku for hosting, and i'm very impressed.
I really would like to have a plan between $15 and $200 too.
I really would like to have a plan between $15 and $200 too.