Browse Source

apscheduler_elab: 定时任务的修改

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 5 years ago
parent
commit
5edded7af1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apscheduler_elab.py

+ 2 - 2
apscheduler_elab.py

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