No Description

Kernel.php 886B

12345678910111213141516171819202122232425262728293031323334353637
  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. ];
  18. /**
  19. * Define the application's command schedule.
  20. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  21. * @return void
  22. */
  23. protected function schedule(Schedule $schedule)
  24. {
  25. $schedule->command('AdzoneCreate')
  26. ->hourly();
  27. }
  28. }