Commit d62ff77f authored by litaolemo's avatar litaolemo

update

parent f166adc2
...@@ -64,7 +64,7 @@ def send_email_tome(): ...@@ -64,7 +64,7 @@ def send_email_tome():
fromaddr = 'litao@igengmei.com' fromaddr = 'litao@igengmei.com'
content = 'hi all:附件为' + str(date) + '的搜索词数据统计结果以及近一周的数据统计结果,请查收!' content = 'hi all:附件为' + str(date) + '的搜索词数据统计结果以及近一周的数据统计结果,请查收!'
zipFile = "/srv/apps/crawler/近一月数据统计结果.xls" zipFile = "/srv/apps/crawler/近1周数据统计结果.xls"
send_file_email("", "", email_group=["<litao@igengmei.com>"], title_str=content send_file_email("", "", email_group=["<litao@igengmei.com>"], title_str=content
, email_msg_body_str=content, file=zipFile) , email_msg_body_str=content, file=zipFile)
except Exception as e: except Exception as e:
......
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