明树Git Lab

Commit 42335372 authored by zfp1's avatar zfp1

update

parent 25b5c2f7
...@@ -54,7 +54,7 @@ const cron = () => { ...@@ -54,7 +54,7 @@ const cron = () => {
if (sysConfig && sysConfig.cron && sysConfig.cron.collectDeviceInfo) { if (sysConfig && sysConfig.cron && sysConfig.cron.collectDeviceInfo) {
console.log("collectDeviceInfo1:", new Date()); console.log("collectDeviceInfo1:", new Date());
// 每10分钟 // 每10分钟
new nodeCron.schedule('0 */2 * * * *', async () => { new nodeCron.schedule('40 */2 * * * *', async () => {
await smcCron.collectDeviceInfo1({ deviceHQType: 1 }); await smcCron.collectDeviceInfo1({ deviceHQType: 1 });
}, { 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