password
查看人数
type
status
date
slug
summary
category
icon
tags
作者
状态
😀
PM2 是一个流行的 Node.js 应用程序的进程管理工具。serv00会不定时的重启,导致启动程序掉线。用PM2加定时任务可以实现保活和自动重启。
 

安装PM2

 

PM2使用:

使用pm2启动应用

保存pm2进程列表

重新加载pm2管理的进程

 

定时任务脚本

 
 
💡
有关使用上的问题,欢迎您在底部评论区留言,一起交流~
uvicorn 运行djang通过CloudFlare+SaaS回源,加速国内访问海外服务器
Loading...