#!/bin/bash
log_path="./log/"
dates=`date -d '-1 days' +'%Y%m%d'`
cd $log_path;
for i in `cat list`;do wget $i:/home/work/odp/log/search/search.log.${dates}22 ./;done
cd ../;
cat ${log_path}/search.log.${dates}* |python cal_adv.py |awk -F '\t|:' '{if($2>400){print $0}}'|sort -nrk1>./result/result.$dates
cp ./result/result.$dates /home/work/opsite/webroot/
04-14 12:10