Create prosess for check moving machine in mission
This commit is contained in:
@@ -16,6 +16,7 @@ class Kernel extends ConsoleKernel
|
||||
protected $commands = [
|
||||
'App\Console\Commands\RoadObservationProblems', //// road observed webservice from 141 sawaneh
|
||||
'App\Console\Commands\SendContractSmsNotification', //// road observed webservice from 141 sawaneh
|
||||
'App\Console\Commands\DailyMovingMachineCommand',
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -48,6 +49,9 @@ class Kernel extends ConsoleKernel
|
||||
->dailyAt('04:00')
|
||||
->appendOutputTo(storage_path('logs/telescope.log'));
|
||||
|
||||
$schedule->command('daily_moving_machine')
|
||||
->dailyAt('23:59')->appendOutputTo(storage_path('logs/dailymovingmachine.log'));
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user