Browse Source

isDev 修改

dev
wenlele 2 years ago
parent
commit
670ab2e63f
  1. 8
      api/app/lib/schedule/alarms_push.js

8
api/app/lib/schedule/alarms_push.js

@ -1,7 +1,7 @@
const moment = require('moment')
// let isDev = false
let isDev = true
let isDev = false
// let isDev = true
let proDebug = false
proDebug = true
@ -9,8 +9,8 @@ proDebug = true
module.exports = function (app, opts) {
const alarmsPush = app.fs.scheduleInit(
{
// interval: '12 */1 * * * *',
interval: '12 0 0 0 */1 *',
interval: '12 */1 * * * *',
// interval: '12 0 0 0 */1 *',
immediate: isDev,
proRun: !isDev,
},

Loading…
Cancel
Save