説明なし

Kernel.php 1023B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php namespace App\Console;
  2. use Illuminate\Console\Scheduling\Schedule;
  3. use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
  4. class Kernel extends ConsoleKernel {
  5. /**
  6. * The Artisan commands provided by your application.
  7. *
  8. * @var array
  9. */
  10. protected $commands = [
  11. 'App\Console\Commands\AdzoneCreate',
  12. 'App\Console\Commands\OrderRateByDay',
  13. 'App\Console\Commands\OrderExcelAdd',
  14. 'App\Console\Commands\OrderRateByDayHistory',
  15. 'App\Console\Commands\TeamOrderRateByDay',
  16. 'App\Console\Commands\TeamOrderRateByDayHistory',
  17. 'App\Console\Commands\SendOrder',
  18. 'App\Console\Commands\DisRoiByDayHistory',
  19. 'App\Console\Commands\DisRoiByDay',
  20. ];
  21. /**
  22. * Define the application's command schedule.
  23. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  24. * @return void
  25. */
  26. protected function schedule(Schedule $schedule)
  27. {
  28. $schedule->command('AdzoneCreate')
  29. ->hourly();
  30. }
  31. }