public function getCronLogfile()
    {
        if (! ($this->offsetExists('cron') && isset($this->cron['logfile']))) {
            return null;
        }

        $file = trim($this->cron['logfile']);
        if (\MUtil_File::isRootPath($file)) {
            return $file;
        }
        return GEMS_ROOT_DIR . '/var/logs/' . $file;
    }
public function getCronLogfile()
    {
        if (! ($this->offsetExists('cron') && isset($this->cron['logfile']))) {
            return null;
        }

        $file = trim($this->cron['logfile']);
        if (\MUtil_File::isRootPath($file)) {
            return $file;
        }
        return GEMS_ROOT_DIR . '/var/logs/' . $file;
    }
public function getCronLogfile ( ) { if ( ! ( $ this -> offsetExists ( 'cron' ) && isset ( $ this -> cron [ 'logfile' ] ) ) ) { return null ; } $ file = trim ( $ this -> cron [ 'logfile' ] ) ; if ( \ MUtil_File :: isRootPath ( $ file ) ) { return $ file ; } return GEMS_ROOT_DIR . '/var/logs/' . $ file ; }
The logfile for cron jobs

@return string
The logfile for cron jobs