code: function addToSchedule(service, record) {
      if (record && record.schedule) {
          record.jobId = schedule.scheduleJob({
              start: Date.now() + record.delay,
              period: record.interval
          },
          doScheduleJob, {
              service: service,
              record: record
          });
      }
  }
docs: schedule console module
  
  @param {Object} service consoleService object
  @param {Object} record  module object
  @api private