diff --git a/backend-laravel/app/Console/Commands/DispatchCycleVille.php b/backend-laravel/app/Console/Commands/DispatchCycleVille.php index a049f1a..557d691 100644 --- a/backend-laravel/app/Console/Commands/DispatchCycleVille.php +++ b/backend-laravel/app/Console/Commands/DispatchCycleVille.php @@ -20,7 +20,7 @@ class DispatchCycleVille extends Command * * @var string */ - protected $description = 'Command description'; + protected $description = 'Dispath the cycle ville job'; /** * Execute the console command. diff --git a/backend-laravel/app/Console/Kernel.php b/backend-laravel/app/Console/Kernel.php index e6b9960..c6c6a84 100644 --- a/backend-laravel/app/Console/Kernel.php +++ b/backend-laravel/app/Console/Kernel.php @@ -12,7 +12,7 @@ class Kernel extends ConsoleKernel */ protected function schedule(Schedule $schedule): void { - // $schedule->command('inspire')->hourly(); + $schedule->command('app:dispatch-cycle-ville')->everyMinute()->withoutOverlapping(); } /**