几天后的延迟工作停止
我正在运行带有数字海液滴的ROR 6产品环境。一切都很好,但是一件事,我手动运行rails_env =生产bin/delayed_job restart
似乎还可以,但是经过几天后,负责运行延迟作业的过程停止了蓝色,任何人,任何人知道为什么会发生这种情况吗?
我还试图创建一个Cronjob每天设置delayed_job流程,但似乎无法正常工作:
0 1 * * * 'cd /var/path/to/rails_project/ && RAILS_ENV=production bin/delayed_job restart'
I'm running a prod environment of RoR 6 with a Digital Ocean Droplet. Everything works well but one thing, i manually run RAILS_ENV=production bin/delayed_job restart
and seems to be ok, but after some days the process in charge of running the delayed jobs stops out of the blue, anyone knows why this could be happening?
I also tried to create a cronjob to set up the delayed_job process on a daily basis but it seems that is not working properly:
0 1 * * * 'cd /var/path/to/rails_project/ && RAILS_ENV=production bin/delayed_job restart'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论