Преглед на файлове

apscheduler_elab: 定时任务的修改

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag преди 5 години
родител
ревизия
5edded7af1
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      apscheduler_elab.py

+ 2 - 2
apscheduler_elab.py

@@ -13,7 +13,7 @@ class Config(object):
     """
     JOBS = [
         {
-                                                                                                                                                                                                                                                                                                                                    'id': 'day_push',
+            'id': 'day_push',
             'func': 'apscheduler_elab:Funcs.day_push',
             'args': '',
             'trigger': 'cron',
@@ -70,7 +70,7 @@ class Funcs(object):
     @staticmethod
     def week_push_two():
         rp = ReportPush('bi_report')
-        rp.report_push(2)
+        rp.report_push(3)
 
     @staticmethod
     def minute_push_elab():