|
@@ -1,7 +1,11 @@
|
|
|
#coding:utf8
|
|
|
|
|
|
-from utils.Utils import sendEmail,getCurrent_date
|
|
|
+import sys
|
|
|
import os
|
|
|
+sys.path.append(os.path.join(os.path.dirname(__file__),".."))
|
|
|
+
|
|
|
+from utils.Utils import sendEmail,getCurrent_date
|
|
|
+
|
|
|
import datetime
|
|
|
import time
|
|
|
from export.exportDocument import exportDocument_medicine,list_df_columns
|
|
@@ -29,7 +33,7 @@ def export_medicine_friday():
|
|
|
|
|
|
def job_medicine_friday():
|
|
|
_scheduler = BlockingScheduler()
|
|
|
- _scheduler.add_job(export_medicine_friday(),"cron",day_of_week='fri',hour=18)
|
|
|
+ _scheduler.add_job(export_medicine_friday,"cron",day_of_week='fri',hour=18)
|
|
|
_scheduler.start()
|
|
|
|
|
|
|