Files
newznab-tmux/misc/update/multiprocessing/binaries.php
T

13 lines
368 B
PHP

<?php
if (! isset($argv[1]) || ! is_numeric($argv[1])) {
exit(
'Argument 1 => (Number) Set to 0 to ignore, else fetches up to x new headers for every active group.'.PHP_EOL
);
}
declare(ticks=1);
require_once dirname(__DIR__, 4).DIRECTORY_SEPARATOR.'bootstrap.php';
use nntmux\libraries\Forking;
(new Forking())->processWorkType('binaries', [0 => $argv[1]]);