model/persistence.js
function() {
        if (!this._startupSchedule || !this._shutdownSchedule) {
            return true;
        }

        var lastStartup = later.schedule(this._startupSchedule).prev().getTime();
        var lastShutdown = later.schedule(this._shutdownSchedule).prev().getTime();
        return lastStartup > lastShutdown;
    }
function() {
        if (!this._startupSchedule || !this._shutdownSchedule) {
            return true;
        }

        var lastStartup = later.schedule(this._startupSchedule).prev().getTime();
        var lastShutdown = later.schedule(this._shutdownSchedule).prev().getTime();
        return lastStartup > lastShutdown;
    }
function ( ) { if ( ! this . _startupSchedule || ! this . _shutdownSchedule ) { return true ; } var lastStartup = later . schedule ( this . _startupSchedule ) . prev ( ) . getTime ( ) ; var lastShutdown = later . schedule ( this . _shutdownSchedule ) . prev ( ) . getTime ( ) ; return lastStartup > lastShutdown ; }
Determine whether the app should be running, based on the cron schedules.
Determine whether the app should be running based on the cron schedules .