我需要監視我的delayed_job工作者與上帝。它開始完美,但是當我想阻止它使用「sudo的神停止DJ」它說上帝不會停止delayed_job worker
Sending 'stop' command
The following watches were affected:
dj-0
但工人仍然在(它處理任務等)
我通過網站提供看他們的神配置爲delayed_job並停止命令沒有在那裏指定。我需要爲god配置還是smth指定停止任務?
我開始用delayed_job的w.start = "cd #{rails_root} && QUEUE=work_server1 bundle exec rake -f #{rails_root}/Rakefile RAILS_ENV=#{environment} --trace jobs:work"
有史以來最好的稱號。 – Pierre 2015-06-19 15:01:30