Brak opisu

Kernel.php 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. 'App\Console\Commands\SyncOrderToMj',
  30. 'App\Console\Commands\DisRoiByDay60',
  31. 'App\Console\Commands\SyncCustSaler',
  32. 'App\Console\Commands\DayGrandTotal',
  33. 'App\Console\Commands\DayGrandTotalHistory',
  34. 'App\Console\Commands\AfreshOrderCost',
  35. 'App\Console\Commands\RoiTotal',
  36. 'App\Console\Commands\RoiTotalHistory',
  37. 'App\Console\Commands\DayGrandRoiHistory',
  38. 'App\Console\Commands\RoiTeamTotalHistory',
  39. 'App\Console\Commands\RoiTeamTotal',
  40. 'App\Console\Commands\DayGrandTeamTotal',
  41. 'App\Console\Commands\DayGrandTeamTotalHistory',
  42. 'App\Console\Commands\RoiSalerTotalHistory',
  43. 'App\Console\Commands\RoiSalerTotal',
  44. 'App\Console\Commands\DayGrandSalerTotalHistory',
  45. 'App\Console\Commands\DayGrandSalerTotal',
  46. 'App\Console\Commands\freightCost',
  47. 'App\Console\Commands\CustomerOrder',
  48. 'App\Console\Commands\CleaningData',
  49. 'App\Console\Commands\Monitor',
  50. 'App\Console\Commands\SyncGoods',
  51. 'App\Console\Commands\FxSyncMjOrderStatus',
  52. 'App\Console\Commands\SyncSkuToRedis',
  53. 'App\Console\Commands\MonitorSkuToRedis',
  54. 'App\Console\Commands\ErrorLogMonitor',
  55. 'App\Console\Commands\GroupFanAmountByMonth',
  56. 'App\Console\Commands\MonitorEmptyFreightCost',
  57. ];
  58. /**
  59. * Define the application's command schedule.
  60. * @param \Illuminate\Console\Scheduling\Schedule $schedule
  61. * @return void
  62. */
  63. protected function schedule(Schedule $schedule)
  64. {
  65. $schedule->command('AdzoneCreate')
  66. ->hourly();
  67. }
  68. }