3 ms·
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
by sunkencity 17y ago
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
- jamesheroku 17y agoFor 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-job http://docs.heroku.com/delayed-job
- sunkencity 17y agoGreat! 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!
- jcapote 17y agoYou 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.