浏览代码

apscheduler_elab: 定时任务增加

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 4 年之前
父节点
当前提交
2fda5795a6
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      apscheduler_elab.py

+ 11 - 1
apscheduler_elab.py

@@ -11,6 +11,7 @@ class Config(object):
         week_push_one:2
         week_push_two: 3
         day_work_two: 4
+        day_work_three: 4
     """
     JOBS = [
         {
@@ -46,7 +47,16 @@ class Config(object):
             'args': '',
             'trigger': 'cron',
             'day_of_week': '*',
-            'hour': 10,
+            'hour': 8,
+            'minute': 30
+        },
+        {
+            'id': 'day_work_three',
+            'func': 'apscheduler_elab:Funcs.day_work_three',
+            'args': '',
+            'trigger': 'cron',
+            'day_of_week': '*',
+            'hour': 8,
             'minute': 30
         }
     ]