DATE=`date "+%Y-%m-%d"`
/usr/local/mysql/bin/mysql -uroot -p12356 -h10.10.10.10 -e "select pic_url from 123 where 123 > \"$DATE\"" | grep -v pic_url > /tmp/$DATE.txt
sed -i 's/^/123.123.cn\//g' /tmp/$DATE.txt
cat /tmp/$DATE.txt | mail -s "$DATE图片地址" 123@123,123@123
/usr/local/mysql/bin/mysql -uroot -p12356 -h10.10.10.10 -e "select pic_url from 123 where 123 > \"$DATE\"" | grep -v pic_url > /tmp/$DATE.txt
sed -i 's/^/123.123.cn\//g' /tmp/$DATE.txt
cat /tmp/$DATE.txt | mail -s "$DATE图片地址" 123@123,123@123