chore: run every 5 minutes
This commit is contained in:
parent
26f2e9ccb0
commit
245cb5b47a
@ -59,8 +59,8 @@ async def update_track(time: int = None):
|
||||
print("run ok!")
|
||||
|
||||
|
||||
@scheduler.scheduled_job("cron", minute="*/10", id="track")
|
||||
async def run_every_10_minute():
|
||||
@scheduler.scheduled_job("cron", minute="*/5", id="track")
|
||||
async def run_every_5_minute():
|
||||
await update_track()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user