const moment = require('moment')

module.exports = function (app, opts) {
   const cameraOnlinePush = app.fs.scheduleInit(
      {
         // interval: '* * 4 * * *',
         interval: '*/15 * * * *',
         immediate: false,
      },
      async () => {
         try {
            
            console.log('cameraOnlinePush')
         } catch (error) {
            
         }
      }
   )

   return {
      cameraOnlinePush,
   }
}