From b1928a7dbfde3fcd00553eac6b81464baf683bf1 Mon Sep 17 00:00:00 2001 From: develop202 Date: Fri, 16 Jan 2026 13:06:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F6=E5=B0=8F=E6=97=B6=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=8A=82=E7=9B=AE=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fetchURLByzbpro.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fetchURLByzbpro.js b/fetchURLByzbpro.js index 582360a..2389e12 100644 --- a/fetchURLByzbpro.js +++ b/fetchURLByzbpro.js @@ -23,6 +23,11 @@ switch (updateResult) { } printGreen("接口文件更新完成!") +// 6小时更新节目单 +if (start.getHours() % 6) { + process.exit(0) +} + // 获取数据 const datas = await dataList() printGreen("数据获取成功!")