code: function(server, crons) {
    var handlers = server.cronHandlers;
    for(var i = 0; i<crons.length; i++) {
      var cronInfo = crons[i];
      var time = cronInfo.time;
      var action = cronInfo.action;
      var jobId = cronInfo.id;
  
      if(!time || !action || !jobId) {
        logger.error('cron miss necessary parameters: %j', cronInfo);
        continue;
      }
  
      if(action.indexOf('.') < 0) {
        logger.error('cron action is error format: %j', cronInfo);
        continue;
      }
      
      var cron = action.split('.')[0];
      var job = action.split('.')[1];
      var handler = handlers[cron];
      
      if(!handler) {
        logger.error('could not find cron: %j', cronInfo);
        continue;
      }
        
      if(typeof handler[job] !== 'function') {
        logger.error('could not find cron job: %j, %s', cronInfo, job);
        continue;
      }
        
      var id = schedule.scheduleJob(time, handler[job].bind(handler));
      server.jobs[jobId] = id;
    }
  }
docs: Schedule crons