protected function _canUpdatePrices()
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $blCan = false;

        // crontab is off?
        if (!$oConfig->getConfigParam("blUseCron")) {
            $iTimeToUpdate = $oConfig->getConfigParam("iTimeToUpdatePrices");
            if (!$iTimeToUpdate || $iTimeToUpdate <= \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime()) {
                $blCan = true;
            }
        }

        return $blCan;
    }