标签:日志切割
#!/bin/bash #logrun #Date:2017-6-21 #Author:xcn(baishuchao@yeah.net) #version 1.0 #bs_error_log LOGPATH=/application/web/Backstage/log/nginx_error.log BASEPATH=/data/log/ DATE=`date +%F_%H-%M` bak=$BASEPATH/$DATE.backstage_error.log mv $LOGPATH $bak
本文出自 “小菜鸟” 博客,请务必保留此出处http://baishuchao.blog.51cto.com/12918589/1940672
标签:日志切割
原文地址:http://baishuchao.blog.51cto.com/12918589/1940672