diff --git a/jd_xinruimz.js b/jd_xinruimz.js index 65f3297..d1f4420 100644 --- a/jd_xinruimz.js +++ b/jd_xinruimz.js @@ -1,3 +1,7 @@ +if (!["true"].includes(process.env.JD_Xinruimz)) { + console.log("避免自动运行请设置环境变量JD_Xinruimz为\"true\"来运行本脚本") + return +} /* cron 30 6-20/3 * * * jd_xinruimz.js TG https://t.me/duckjobs