Няма описание

Kernel.php 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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\DisRoiByDay30History',
  22. 'App\Console\Commands\SyncAdCost',
  23. 'App\Console\Commands\DisRoiByDay15',
  24. 'App\Console\Commands\DisRoiByDay15History',
  25. 'App\Console\Commands\DisRoiByDay45',
  26. 'App\Console\Commands\DisRoiByDay45History',
  27. 'App\Console\Commands\SyncMjOrderStatus',
  28. 'App\Console\Commands\SyncMjWarehouse',
  29. ];
  30. /**
  31. * Define the application's command schedule.
  32. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  33. * @return void
  34. */
  35. protected function schedule(Schedule $schedule)
  36. {
  37. $schedule->command('AdzoneCreate')
  38. ->hourly();
  39. }
  40. }