I am using this plugin for scheduled job.But it is not working.
I am confused about some points,Should I need to create the Job class and set their name in to schedule file?When testing it then,Should I run the rescue scheduler and Resque worker both or only one of them.
Thanks in advance.
My Resque Scheduler config… you will mostly need all these pieces:
YML file (config/resque_scheduler.yml):
config/initializers/resque.rb:
Ruby class (lib/every_minute.rb or somewhere in the load path):
You need to run
The resque:scheduler process periodically queues up jobs, hence the scheduling. And the workers will just do the jobs blindly. This is why you need BOTH to successfully schedule and run jobs periodically.