Code HighLight

#!/bin/sh
BEG=`date --date '-7 days' +%Y%m%d`
END=`date --date '-1 days' +%Y%m%d`

#BEG='20140509'
#END='20140515'

LOG="init-search'-$BEG-$END'.log"
sh  init_search.sh $BEG $END # >  $LOG

File="search-$BEG-$END.tar.gz"
python "sendMail.py" $File 'M station and TV search data ' #1>>$LOG 2>&1
posted @ 2014-11-13 17:24  gaoxw0511  阅读(169)  评论(0编辑  收藏  举报