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

更新log_history_rm.sh

parent a2e6a36d
......@@ -2,7 +2,7 @@
starttime=`date +'%Y-%m-%d %H:%M:%S'`
logdir=$1
old_day=`date +%Y%m%d -d"-7 days"`
old_day=`date +%Y-%m-%d -d"-7 days"`
filename=$logdir/*-$old_day*
rm -f $filename
......
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