public function getErrorLogFile()
    {
        $replace = array(
            '###PID###' => $this->getPid(),
            '###ID###' => $this->getId(),
            '###JOBCODE###' => $this->getJobCode()
        );
        $basedir = Mage::getBaseDir('log') . DS . 'cron' . DS;
        return $basedir . str_replace(array_keys($replace), array_values($replace), Mage::getStoreConfig('system/cron/errorLogFilename'));
    }