无终端的启动和运行Django服务器的最佳实践
我正在开发一个 django erp 应用程序并希望不间断地运行它。如果我们从终端运行服务器,它可能会在某个时间点自动停止。所以我寻求的是告诉操作系统在启动时运行 django。在启动时从 cron 调用 python 的子进程是个好主意吗?
Im developing a django erp application and want to run it without stop. If we do runserver from a terminal it may be stopped at a point of time automatically. So what i seek for is to tell the os to run django as it boot up. Can subprocess of python a good idea to call from cron at startup ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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