diff --git a/src/Command/RunMonitoringCommand.php b/src/Command/RunMonitoringCommand.php new file mode 100644 index 0000000..80c7ce0 --- /dev/null +++ b/src/Command/RunMonitoringCommand.php @@ -0,0 +1,36 @@ +writeln('Déclenchement du monitoring des mangas...'); + + $this->commandBus->dispatch(new CheckMonitoredMangas()); + + $output->writeln('Vérification lancée. Les nouveaux chapitres détectés seront scrappés via le worker commands.'); + + return Command::SUCCESS; + } +}