Explorar o código

删除 'nginxlog_cut.sh'

stone %!s(int64=5) %!d(string=hai) anos
pai
achega
bf3e882560
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      nginxlog_cut.sh

+ 0 - 9
nginxlog_cut.sh

@@ -1,9 +0,0 @@
-#!/bin/bash
-log_path=/log/nginx/visit
-DATE=$(date +%Y%m%d%H --date='1 hour ago')
-mv $log_path/access.log $log_path/access.log.$DATE
-mv $qd_log_path/access.log $qd_log_path/access.log.$DATE
-kill -USR1 `cat /app/soft/tengine/nginx.pid`
-
-find /log/ -daystart -type f -mtime +1 -exec rm -f '{}' ';'
-find /data/wapage/log/indexpage/ -daystart -type f -mtime +3 -exec rm -f '{}' ';'