option('max-jobs')); for ($processed = 0; $limit === 0 || $processed < $limit; $processed++) { $task = $tasks->nextQueued(); if ($task === null) break; $code = $this->call('account-bills:export-run', ['token' => $task['token']]); if ($code === 75) break; } return self::SUCCESS; } }