lib/consoleService.js
function(args) {
	let service = args.service;
	let record = args.record;
	if (!service || !record || !record.module || !record.enable) {
		return;
	}

	if (service.master) {
		record.module.masterHandler(service.agent, null, function(err) {
			logger.error('interval push should not have a callback.');
		});
	} else {
		record.module.monitorHandler(service.agent, null, function(err) {
			logger.error('interval push should not have a callback.');
		});
	}
}
function(args) {
	let service = args.service;
	let record = args.record;
	if (!service || !record || !record.module || !record.enable) {
		return;
	}

	if (service.master) {
		record.module.masterHandler(service.agent, null, function(err) {
			logger.error('interval push should not have a callback.');
		});
	} else {
		record.module.monitorHandler(service.agent, null, function(err) {
			logger.error('interval push should not have a callback.');
		});
	}
}
function ( args ) { let service = args . service ; let record = args . record ; if ( ! service || ! record || ! record . module || ! record . enable ) { return ; } if ( service . master ) { record . module . masterHandler ( service . agent , null , function ( err ) { logger . error ( 'interval push should not have a callback.' ) ; } ) ; } else { record . module . monitorHandler ( service . agent , null , function ( err ) { logger . error ( 'interval push should not have a callback.' ) ; } ) ; } }
run schedule job

@param {Object} args argments
@api private
run schedule job