测试定时任务
This commit is contained in:
@@ -46,7 +46,7 @@ class GameTaskPlugin(MessagePluginInterface):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.LOG = logger
|
self.LOG = logger
|
||||||
async_job.at_times(["14:43"])(self.run_random_task_assignment)
|
async_job.at_times(["15:20"])(self.run_random_task_assignment)
|
||||||
|
|
||||||
def initialize(self, context: Dict[str, Any]) -> bool:
|
def initialize(self, context: Dict[str, Any]) -> bool:
|
||||||
"""初始化插件"""
|
"""初始化插件"""
|
||||||
|
|||||||
Reference in New Issue
Block a user