option('days', '7')); $removed = Queue::purge($days); $stuck = Queue::releaseStuck(); $this->ok('Удалено выполненных: ' . $removed); if ($stuck > 0) { $this->ok('Возвращено зависших: ' . $stuck); } return 0; } }