开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜