Dagosi Dagosi - 1 year ago 138
Ruby Question

Does resque-scheduler need a resque task in order to run the queued jobs?

I'm wondering if resque-scheduler needs a resque instance to run the jobs in a specific queue, or it's mandatory for resque-scheduler to use the


Thanks in advance.

Answer Source

Yes, you definitely need to have a resque worker running to process the jobs, with a command like this:

QUEUE=* rake resque:work

Resque-scheduler puts the jobs on a queue when it's time for them to be executed, but doesn't execute them itself. That's why you only run one instance of resque-scheduler, and as many resque workers as you need to keep up with the jobs.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download