开发者

How to use resque-scheduler and resque-status together?

开发者 https://www.devze.com 2022-12-22 06:58 出处:网络
I have resque-scheduler working fine in a rails app. Now I need to be able to track status and remove jobs from the queue. I had a brief look at resque-sta开发者_如何转开发tus and, from what I saw, if

I have resque-scheduler working fine in a rails app. Now I need to be able to track status and remove jobs from the queue. I had a brief look at resque-sta开发者_如何转开发tus and, from what I saw, if I could get it to play nicely with resque-scheduler then it would be perfect.

However, it seems rescue-status uses create which wraps enqueue and resque-scheduler uses the extended enqueue_at which I am using currently. Is there an easy way to get them to play together without too much hacking of the plugins? Has anyone done this already and would be willing to give me some hints?


resque-scheduler 1.9.6 now supports custom job types including the latest version of resque-status. Upgrade both gems and check out the readme for resque-scheduler on how to set it up.

0

精彩评论

暂无评论...
验证码 换一张
取 消