明树Git Lab

Commit 10fbc5f6 authored by zfp1's avatar zfp1

update

parent fbfd257f
...@@ -101,7 +101,7 @@ const cron = () => { ...@@ -101,7 +101,7 @@ const cron = () => {
if (sysConfig && sysConfig.cron && sysConfig.cron.plantearlywarning) { if (sysConfig && sysConfig.cron && sysConfig.cron.plantearlywarning) {
console.log("plant:", new Date()); console.log("plant:", new Date());
new nodeCron.schedule('1 */1 * * * *', async () => { new nodeCron.schedule('1 01 06 * * *', async () => {
await plantWarnCron.plantearlywarning(); await plantWarnCron.plantearlywarning();
}, { timezone: "Asia/Shanghai" }); }, { timezone: "Asia/Shanghai" });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment