1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php namespace App\Console;
- use Illuminate\Console\Scheduling\Schedule;
- use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
- class Kernel extends ConsoleKernel {
- /**
- * The Artisan commands provided by your application.
- *
- * @var array
- */
- protected $commands = [
-
- 'App\Console\Commands\AdzoneCreate',
- 'App\Console\Commands\OrderRateByDay',
- 'App\Console\Commands\OrderExcelAdd',
- 'App\Console\Commands\OrderRateByDayHistory',
- 'App\Console\Commands\TeamOrderRateByDay',
- 'App\Console\Commands\TeamOrderRateByDayHistory',
- 'App\Console\Commands\SendOrder',
- 'App\Console\Commands\DisRoiByDayHistory',
- 'App\Console\Commands\DisRoiByDay',
- 'App\Console\Commands\DisRoiByDay30',
- 'App\Console\Commands\DisRoiByDay30History',
- 'App\Console\Commands\SyncAdCost',
- 'App\Console\Commands\DisRoiByDay15',
- 'App\Console\Commands\DisRoiByDay15History',
- 'App\Console\Commands\DisRoiByDay45',
- 'App\Console\Commands\DisRoiByDay45History',
- 'App\Console\Commands\SyncMjOrderStatus',
- 'App\Console\Commands\SyncMjWarehouse',
-
- ];
- /**
- * Define the application's command schedule.
- * @param \Illuminate\Console\Scheduling\Schedule $schedule
- * @return void
- */
- protected function schedule(Schedule $schedule)
- {
-
- $schedule->command('AdzoneCreate')
- ->hourly();
-
- }
- }
|