- Using resque-scheduler with resque-status
We’re attempting to use both of these together, and encountered problems getting it to work.
Another project had found the answer. Resque scheduler only calls the correct method if you provide a custom_job_class in your yaml file:
This code from resque scheduler is the smoking gun:
if (job_klass = job_config['custom_job_class']) && (job_klass != 'Resque::Job') constantize(job_klass).scheduled(queue, klass_name, *params) end
About the AuthorMore Content by Matthew Kocher