🎨 修改自动签到时间

This commit is contained in:
洛水居室 2022-08-31 21:16:08 +08:00
parent 683c3ce4aa
commit ac93c71526
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -34,7 +34,7 @@ class SignJob:
if config.debug: if config.debug:
job_queue.run_once(sign.sign, 3, name="SignJobTest") job_queue.run_once(sign.sign, 3, name="SignJobTest")
# 每天凌晨一点执行 # 每天凌晨一点执行
job_queue.run_daily(sign.sign, datetime.time(hour=1, minute=0, second=0), name="SignJob") job_queue.run_daily(sign.sign, datetime.time(hour=0, minute=1, second=0), name="SignJob")
async def sign(self, context: CallbackContext): async def sign(self, context: CallbackContext):
Log.info("正在执行自动签到") Log.info("正在执行自动签到")