测试完毕。
This commit is contained in:
6
main.py
6
main.py
@@ -88,7 +88,7 @@ def jobs(robot: Robot):
|
|||||||
await robot.message_count_to_db()
|
await robot.message_count_to_db()
|
||||||
|
|
||||||
# ✅ 每天 09:30 从 sqlite 读取并发送群排行
|
# ✅ 每天 09:30 从 sqlite 读取并发送群排行
|
||||||
@async_job.at_times(["10:06"])
|
@async_job.at_times(["09:30"])
|
||||||
async def msg_ranking_job():
|
async def msg_ranking_job():
|
||||||
await robot.generate_and_send_ranking()
|
await robot.generate_and_send_ranking()
|
||||||
|
|
||||||
@@ -112,10 +112,6 @@ def jobs(robot: Robot):
|
|||||||
async def login_check_job():
|
async def login_check_job():
|
||||||
await robot.login_twice_auto_auth()
|
await robot.login_twice_auto_auth()
|
||||||
|
|
||||||
@async_job.at_times(["09:57"])
|
|
||||||
async def login_test():
|
|
||||||
await robot.send_ranking_task()
|
|
||||||
|
|
||||||
@async_job.at_times(["05:00"])
|
@async_job.at_times(["05:00"])
|
||||||
async def update_image_cache_job():
|
async def update_image_cache_job():
|
||||||
logger.info("开始执行图片缓存更新任务")
|
logger.info("开始执行图片缓存更新任务")
|
||||||
|
|||||||
Reference in New Issue
Block a user