From 00acfb8ca92540cae93ccfd2f368dc380db397cd Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Wed, 10 Aug 2022 09:05:23 +0800 Subject: [PATCH] debug --- .../VideoAccess-VCMP/api/app/lib/schedule/freshYingshiMsg.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/VideoAccess-VCMP/api/app/lib/schedule/freshYingshiMsg.js b/code/VideoAccess-VCMP/api/app/lib/schedule/freshYingshiMsg.js index 80e301d..ce3b087 100644 --- a/code/VideoAccess-VCMP/api/app/lib/schedule/freshYingshiMsg.js +++ b/code/VideoAccess-VCMP/api/app/lib/schedule/freshYingshiMsg.js @@ -5,10 +5,10 @@ module.exports = function (app, opts) { const freshYingshiState = app.fs.scheduleInit( { interval: '0 */5 * * * *', - // interval: '*/10 * * * *', + interval: '*/10 * * * *', immediate: false, // immediate: true, - proRun: true, + // proRun: true, }, async () => { @@ -82,6 +82,7 @@ module.exports = function (app, opts) { time: nowTime } }) + console.log('上下线记录', bulkCreateData); if (bulkCreateData.length) { await models.CameraStatusOfflineLog.bulkCreate(bulkCreateData) }