lib/consoleService.js
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
        });
    }
}
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
        });
    }
}
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 } ) ; } }
schedule console module

@param {Object} service consoleService object
@param {Object} record  module object
@api private
schedule console module