app/code/community/Nexcessnet/Turpentine/Helper/Cron.php
public function getNextUrl() {
        $urls = $this->_readUrlQueue();
        $nextUrl = array_shift($urls);
        $this->_writeUrlQueue($urls);
        return $nextUrl;
    }
public function getNextUrl() {
        $urls = $this->_readUrlQueue();
        $nextUrl = array_shift($urls);
        $this->_writeUrlQueue($urls);
        return $nextUrl;
    }
public function getNextUrl ( ) { $ urls = $ this -> _readUrlQueue ( ) ; $ nextUrl = array_shift ( $ urls ) ; $ this -> _writeUrlQueue ( $ urls ) ; return $ nextUrl ; }
Pop a URL to crawl off the queue, or null if no URLs left

@return string|null
Pop a URL to crawl off the queue or null if no URLs left