On Wed, Dec 3, 2014 at 3:24 PM, Ganesh Ranganathan <
[email protected]> wrote:
ᐧ

>
> 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.

http://brandonhilkert.com/blog/why-i-wrote-the-sucker-punch-gem/

Btw, just curious. Cant we write cron jobs in heroku? Using something like
the whenever <https://github.com/javan/whenever> gem.

Cheers,

Harisankar P S
http://csnipp.com/coderhs

-- 
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 [email protected].
To post to this group, send email to [email protected].
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.

Reply via email to