Browse Source

apscheduler_elab: 修改定时任务的时间

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

+ 4 - 4
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',
@@ -26,8 +26,8 @@ class Config(object):
             'func': 'apscheduler_elab:Funcs.week_push_one',
             'args': '',
             'trigger': 'cron',
-            'day_of_week': 'tue',
-            'hour': 10,
+            'day_of_week': 'mon',
+            'hour': 9,
             'minute': 50
         },
         {
@@ -35,7 +35,7 @@ class Config(object):
             'func': 'apscheduler_elab:Funcs.week_push_two',
             'args': '',
             'trigger': 'cron',
-            'day_of_week': 'tue',
+            'day_of_week': 'mon',
             'hour': 10,
             'minute': 50
         }