Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Rails 4。
我有一些后台进程正在为即将到期的帖子运行。
sidekiq 被用于后台进程。但它有时会在制作中停止。所以这些工作不能在确切的时间执行。
如何整合god,sidekiq与capistrano?
god
sidekiq
capistrano
谢谢德巴达特
当我有类似的任务时,我使用过SV runit. 在 capistrano 部署脚本中,我有类似的东西sudo sv start sidekiq
SV runit
sudo sv start sidekiq
所以基本上 sv 就像服务一样,我所要做的就是 cd 到current我的 sv 脚本中的版本文件夹并捆绑 exec sidekiq - 你的配置在这里
current