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) }