fix: 修改定时任务时间

This commit is contained in:
chenwj113 2023-05-21 21:32:27 +08:00
parent 2ec8b1771b
commit dd14c9ff45
1 changed files with 1 additions and 5 deletions

View File

@ -34,7 +34,7 @@ def get_data_job(lottery_type='pls'):
print(f'issue:{draw_issue}已经存在')
@repeat(every().day.at("00:01"))
@repeat(every().day.at("21:50"))
def pls_job():
get_data_job(lottery_type='pls')
@ -46,10 +46,6 @@ def plw_job():
def sd_job():
get_data_job(lottery_type='sd')
@repeat(every().day.at("21:30"))
def print_hello():
print("hello at: 21:30")
while True:
run_pending()
time.sleep(1)