restarting rake resques:scheduler
I am using resque and resque-scheduler to schedule jobs in rails 3, any way I am building an interface for the user to change the values in the cron tab file but they don't reflect in the scheduler so I have to stop the rake resque:sched开发者_如何学运维uler
and then start it again is there a way to avoid this or programmatically restart the rake
Make sure Resque::Scheduler.dynamic
is set to true
for your resque:scheduler rake task (and resque-web if you want it to be updated in the UI as well).
精彩评论