protected function runCacheBan()
    {
        $connector = Mage::getSingleton('ecomdev_varnish/connector');
        $header = $this->getArg('header');

        if (empty($header)) {
            $header = 'req.url';
        }

        $value = $this->getArg('value');
        $expression = $header . ' ~ ' . $value;
        $connector->getVarnishPool()->ban($expression);

        fwrite(STDOUT, sprintf('Executed %s command on all servers %s', $expression, PHP_EOL));
    }