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

Update log_rm.sh

parent 40817cd2
......@@ -2,7 +2,7 @@
starttime=`date +'%Y-%m-%d %H:%M:%S'`
logdir=/data/api/logs
old_day=`date +%Y%m%d -d"-3 days"`
old_day=`date +%Y%m%d -d"-4 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