lib/mia-js.js
function () {
        const crons = _.get(Shared, 'runtimeArgs.cron') || _.get(Shared, 'runtimeArgs.crons');
        if (crons) {
            const cronTasks = crons.replace(/\s/g, '').split(',');
            return cronTasks.length > 0 ? cronTasks : undefined;
        }
        return undefined;
    }
function () {
        const crons = _.get(Shared, 'runtimeArgs.cron') || _.get(Shared, 'runtimeArgs.crons');
        if (crons) {
            const cronTasks = crons.replace(/\s/g, '').split(',');
            return cronTasks.length > 0 ? cronTasks : undefined;
        }
        return undefined;
    }
function ( ) { const crons = _ . get ( Shared , 'runtimeArgs.cron' ) || _ . get ( Shared , 'runtimeArgs.crons' ) ; if ( crons ) { const cronTasks = crons . replace ( / \s / g , '' ) . split ( ',' ) ; return cronTasks . length > 0 ? cronTasks : undefined ; } return undefined ; }
Checks process arguments if specific cron jobs should be started immediately. That's the case if there is a third
argument like "cron=NameOfCronjobToStart,NameOfAnotherCronjobToStart"
@returns {Array} Names of cron jobs to start
@private
Checks process arguments if specific cron jobs should be started immediately . That s the case if there is a third argument like cron = NameOfCronjobToStart NameOfAnotherCronjobToStart