2017年2月9日

tomcat日志切割

摘要: #!/bin/bash file1='/usr/local/tomcat7/logs' file2='/usr/local/tomcat7-2/logs' file3='/usr/local/tomcat7-3/logs' logtime="`date +20%y_%m_%d`" time=30for i in `seq 1 3` do { rm -rf tmp_${i}.txt... 阅读全文

posted @ 2017-02-09 15:34 vijayfly 阅读(184) 评论(0) 推荐(0) 编辑

导航