From 245cb5b47acd51eecb31d80f4b02021ce50e8038 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 1 Apr 2024 14:32:11 +0800 Subject: [PATCH] chore: run every 5 minutes --- plugins/track.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/track.py b/plugins/track.py index 0a85f43..d2ac646 100644 --- a/plugins/track.py +++ b/plugins/track.py @@ -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()