摘要: CentoS 7 中设置定时任务,执行定时切割nginx日志: 定时任务书写如下: 59 23 * * * root /bin/bash /home/felix/shell/cut_api.sh 脚本内容如下: #定义日志的源路径,即nginx的默认log路径source_log_path=/hom 阅读全文
posted @ 2019-02-13 10:23 柳湖居士 阅读(251) 评论(0) 推荐(0)