mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 23:16:47 +00:00
fix(BrushFlow): update cron from 5 to 10
This commit is contained in:
@@ -435,7 +435,7 @@ class BrushFlow(_PluginBase):
|
||||
if self._task_brush_enable:
|
||||
if brush_config.cron:
|
||||
values = brush_config.cron.split()
|
||||
values[0] = f"{datetime.now().minute % 10}/5"
|
||||
values[0] = f"{datetime.now().minute % 10}/10"
|
||||
cron = " ".join(values)
|
||||
logger.info(f"站点刷流定时服务启动,执行周期 {cron}")
|
||||
cron_trigger = CronTrigger.from_crontab(cron)
|
||||
|
||||
Reference in New Issue
Block a user