开发者

restarting rake resques:scheduler

开发者 https://www.devze.com 2023-03-29 20:54 出处:网络
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 s

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).

0

精彩评论

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