3点进行图片缓存更新动作
This commit is contained in:
2
main.py
2
main.py
@@ -112,7 +112,7 @@ 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(["11:15"])
|
@async_job.at_times(["05:00"])
|
||||||
async def update_image_cache_job():
|
async def update_image_cache_job():
|
||||||
logger.info("开始执行图片缓存更新任务")
|
logger.info("开始执行图片缓存更新任务")
|
||||||
manager = ImageCacheManager("/mnt/nfs_share") # 替换为你的图片目录
|
manager = ImageCacheManager("/mnt/nfs_share") # 替换为你的图片目录
|
||||||
|
|||||||
Reference in New Issue
Block a user