path=/www/wwwroot/123.com/_________________log/123.com.log
path2=/www/wwwroot/123.com/_________________log/123.com.log_`date -d "1 day ago" +"%Y-%m-%d_%H%M%S.log"`
#复制
cp ${path} ${path2}
#清空原内容
: > /www/wwwroot/123.com/_________________log/123.com.log