mattgibson / resque-scheduler-web

Tabs in the Resque Web gem for the Resque Scheduler plugin.
https://rubygems.org/gems/resque-scheduler-web
MIT License
25 stars 24 forks source link

Add schedules tab configuration procedure in README #16

Open aclarembeau opened 5 years ago

aclarembeau commented 5 years ago

Hello,

I struggled a bit of time to see that my schedules where not showing in the schedules tab of resque-scheduler-web.

According to: https://github.com/resque/resque-scheduler/issues/541

What I had to do is just to create an initializer: Resque.schedule = YAML.load_file Rails.root.join('schedules.yml')

Instead of creating a rake task, as advertised in https://github.com/resque/resque-scheduler As I believe that many other users will have the issue, I purpose to add this to the readme.

Thanks a lot for the amazing job team. Resque, with the help of resque-web is definitely one of the easiest queuing backend for rails thanks to your awesome work :)