Commit 15b1adec authored by 张彦钊's avatar 张彦钊

change test file

parent 6a76360f
......@@ -101,7 +101,13 @@ def get_time():
if __name__ == "__main__":
DIRECTORY_PATH = "/home/gmuser/"
df = get_time()
df.to_csv( DIRECTORY_PATH+"hello.csv",index = None)
db = pymysql.connect(host='172.16.40.158', port=4000, user='root', passwd='3SYz54LS9#^9sBvC', db='jerry_prod')
sql = "delete from data_feed_exposure where stat_date >= '2019-07-28' limit 60000"
cursor = db.cursor()
for i in range(130):
cursor.execute(sql)
db.commit()
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