Bez popisu

Kernel.php 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. 'App\Console\Commands\DisRoiByDay30',
  21. 'App\Console\Commands\SyncAdCost',
  22. ];
  23. /**
  24. * Define the application's command schedule.
  25. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  26. * @return void
  27. */
  28. protected function schedule(Schedule $schedule)
  29. {
  30. $schedule->command('AdzoneCreate')
  31. ->hourly();
  32. }
  33. }