Linux python后台任务

Ubuntu 后台持续运行python服务 一般使用 nohup python -u app.py>t.log 2>&1 & nohup python3 -u app.py>t.log 2>&1 & 只记录异常日志 nohup python -u app.py>/dev/null 2>error.l
posted @ 2020-10-12 16:15  菜鸟要飞~  Views(598)  Comments(0Edit  收藏  举报