diff --git a/api/app/lib/schedule/alarms_push.js b/api/app/lib/schedule/alarms_push.js index f9c0baf..a57b3b5 100644 --- a/api/app/lib/schedule/alarms_push.js +++ b/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, },