From 6dc7cc453642f0f07c4efea86d26e16c3b925917 Mon Sep 17 00:00:00 2001 From: xream Date: Sun, 4 Jan 2026 08:52:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20Loon=20=E6=8F=92=E4=BB=B6=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E4=BF=AE=E6=94=B9=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=20cron?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/Loon.plugin | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/Loon.plugin b/config/Loon.plugin index 01513d8f..ae9bc68e 100644 --- a/config/Loon.plugin +++ b/config/Loon.plugin @@ -1,5 +1,5 @@ #!name=Sub-Store -#!desc=高级订阅管理工具. 定时任务默认为每天 23 点 55 分. 定时任务指定时将订阅/文件上传到私有 Gist. 在前端, 叫做 '同步' 或 '同步配置' +#!desc=高级订阅管理工具. 定时任务默认为每天 23 点 55 分, 可在插件设置中自定义. 定时任务指定时将订阅/文件上传到私有 Gist. 在前端, 叫做 '同步' 或 '同步配置' #!openUrl=https://sub.store #!author=Peng-YM #!homepage=https://github.com/sub-store-org/Sub-Store @@ -7,6 +7,9 @@ #!select = 节点缓存有效期,1分钟,5分钟,10分钟,30分钟,1小时,2小时,3小时,6小时,12小时,24小时,48小时,72小时,参数传入 #!select = 响应头缓存有效期,1分钟,5分钟,10分钟,30分钟,1小时,2小时,3小时,6小时,12小时,24小时,48小时,72小时,参数传入 +[Argument] +cron=input, "55 23 * * *", tag=定时参数, desc=这里需要输入符合CRON表达式的参数 + [Rule] DOMAIN,sub-store.vercel.app,PROXY @@ -17,4 +20,4 @@ hostname=sub.store http-request ^https?:\/\/sub\.store\/((download)|api\/(preview|sync|(utils\/node-info))) script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-1.min.js, requires-body=true, timeout=120, tag=Sub-Store Core http-request ^https?:\/\/sub\.store script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-0.min.js, requires-body=true, timeout=120, tag=Sub-Store Simple -cron "55 23 * * *" script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js, timeout=120, tag=Sub-Store Sync \ No newline at end of file +cron {cron} script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js, timeout=120, tag=Sub-Store Sync \ No newline at end of file