示例#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();
 }
示例#2
0
     $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':
     $postProcess->processAnime();
     break;
 case 'book':
     $postProcess->processBooks();
     break;
 case 'console':
     $postProcess->processConsoles();
     break;
 case 'games':
     $postProcess->processGames();
     break;