diff --git a/app/Console/Commands/DailyMovingMachineCommand.php b/app/Console/Commands/DailyMovingMachineCommand.php index bc19cbfd..a7446e07 100644 --- a/app/Console/Commands/DailyMovingMachineCommand.php +++ b/app/Console/Commands/DailyMovingMachineCommand.php @@ -17,7 +17,7 @@ class DailyMovingMachineCommand extends Command * * @var string */ - protected $signature = 'daily_moving_machine'; + protected $signature = 'webservice:daily_moving_machine'; /** * The console command description. diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 4b9554d3..f4c047dd 100755 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -49,7 +49,7 @@ class Kernel extends ConsoleKernel ->dailyAt('04:00') ->appendOutputTo(storage_path('logs/telescope.log')); - $schedule->command('daily_moving_machine') + $schedule->command('webservice:daily_moving_machine') ->dailyAt('02:00')->appendOutputTo(storage_path('logs/dailymovingmachine.log')); }