Commit e8c9cf03 authored by 白秀江's avatar 白秀江

更新log_history_rm.sh

parent ec7b25f7
......@@ -5,7 +5,7 @@ logdir=$1
old_day=`date +%Y-%m-%d -d"-7 days"`
filename=$logdir/*$old_day*
rm -f $filename
rm -fr $filename
echo " 删除文件: $filename"
endtime=`date +'%Y-%m-%d %H:%M:%S'`
start_seconds=$(date --date="$starttime" +%s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment