mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
更新 scheduler.py
This commit is contained in:
+4
-4
@@ -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'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user