/dev/null 2>&1 ; (unix) Scrapes PRE with no text output, in the background (you can close your terminal window).'.PHP_EOL. 'php '.$argv[0].' true false true ; Scrapes PRE with text output and debug output.'.PHP_EOL. 'php '.$argv[0].' true true true ; Scrapes PRE with debug but no text output.'.PHP_EOL ); } if (config('irc_settings.scrape_irc_username') === '') { exit('ERROR! You must put a username in config/irc_settings.php'.PHP_EOL); } $silent = (isset($argv[2]) && $argv[2] === 'true'); $debug = (isset($argv[3]) && $argv[3] === 'true'); // Start scraping. new IRCScraper($silent, $debug);