From 3ab4397c0f8479f6b99eff14386601e4391e3305 Mon Sep 17 00:00:00 2001 From: lyz05 <294068487@qq.com> Date: Sat, 17 Dec 2022 22:20:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=B3=E9=97=ADcovidbook=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schedule/schedule.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/schedule/schedule.js b/schedule/schedule.js index 73f2b74..d585a03 100644 --- a/schedule/schedule.js +++ b/schedule/schedule.js @@ -3,7 +3,6 @@ const leancloud = require("../utils/leancloud"); const chai = require("chai"); const chaiHttp = require("chai-http"); const cf2dns = require("./cf2dns"); -const covidbook = require("./covidbook"); function subcache(app) { console.log("Running Cron Job:subcache"); @@ -33,11 +32,5 @@ module.exports = (app) => { }); }); }); - cron.schedule("*/30 * * * * *", () => { - covidbook(); - }); }; -if (!module.parent) { - covidbook(); -}