Ruby on Rails
Wednesday, December 3, 2014
Previously I was using the gem resque and resque-scheduler for this. The problem however is that this requires 2 additional dynos, one for the scheduler and one for the worker task to run on.
You could use the sucker punch gem which does the background processing along with the rails process, so there shouldn't be the need to start another dyno. Not sure about if we can schedule it to start at a particular point of time.
Btw, just curious. Cant we write cron jobs in heroku? Using something like the whenever gem.
Cheers,
Harisankar P S
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADHN3jWuE71iKh5WcxUcB_3%2BLnADrga%3D1N1_FZZ8n_AMfmeN5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment