Exemple #1
0
 /**
  * Process all that require a single thread.
  */
 private function processSingle()
 {
     $postProcess = new PostProcess(['Settings' => $this->pdo, 'ColorCLI' => $this->_colorCLI]);
     //$postProcess->processAnime();
     $postProcess->processBooks();
     $postProcess->processConsoles();
     $postProcess->processGames();
     $postProcess->processMusic();
     $postProcess->processXXX();
 }
Exemple #2
0
switch ($argv[1]) {
    case 'all':
        $postProcess->processAll($nntp);
        break;
    case 'allinf':
        $i = 1;
        while ($i = 1) {
            $postProcess->processAll($nntp);
            sleep(15);
        }
        break;
    case 'additional':
        $postProcess->processAdditional($nntp, '', isset($argv[3]) && in_array($argv[3], $charArray) ? $argv[3] : '');
        break;
    case 'amazon':
        $postProcess->processBooks();
        $postProcess->processConsoles();
        $postProcess->processGames();
        $postProcess->processMusic();
        $postProcess->processXXX();
        break;
    case 'anime':
        exit;
        //$postProcess->processAnime();
        //break;
    //$postProcess->processAnime();
    //break;
    case 'book':
        $postProcess->processBooks();
        break;
    case 'console':