更新 scheduler.py

This commit is contained in:
jxxghp
2025-01-22 19:39:02 +08:00
committed by GitHub
parent 047d1e0afd
commit 3dc7adc61a
+4 -4
View File
@@ -93,7 +93,7 @@ class Scheduler(metaclass=Singleton):
"running": False, "running": False,
}, },
"subscribe_follow": { "subscribe_follow": {
"name": "Follow分享订阅", "name": "关注的订阅分享",
"func": SubscribeChain().follow, "func": SubscribeChain().follow,
"running": False, "running": False,
}, },
@@ -246,13 +246,13 @@ class Scheduler(metaclass=Singleton):
} }
) )
# Follow分享订阅(每6小时) # 关注订阅分享(每1小时)
self._scheduler.add_job( self._scheduler.add_job(
self.start, self.start,
"interval", "interval",
id="subscribe_follow", id="subscribe_follow",
name="Follow分享订阅", name="关注的订阅分享",
hours=6, hours=1,
kwargs={ kwargs={
'job_id': 'subscribe_follow' 'job_id': 'subscribe_follow'
} }