06 2017 档案
摘要:部署模式 flask + Gunicorn + nginx 为什么要用Gunicorn + nginx ? 请看知乎大神们的回答:https://www.zhihu.com/question/38528616 场景 有一项业务,前端给后端发送ajax请求后,后端需要执行大约4分钟的时间才会给前端返回
阅读全文
摘要:在工作中我们经常会写一个python脚本,然后想通过定时任务去执行,这时我们会想到crontab. 通过 crontab -e去设置crontab 例如:0 0 * * * python /data/webapps/cmdb.import.api/routine_analysis_halog.py
阅读全文

浙公网安备 33010602011771号