command('LogExpireDelete')->dailyAt('00:01'); $schedule->command('InventoryDailyLoggingOwner')->dailyAt('08:00'); $schedule->command('FluxOrderFix')->hourlyAt(1); $schedule->command('WASSyncWMSOrderInformation')->everyMinute(); $schedule->command('syncLogCacheTask')->everyMinute(); $schedule->command('createOwnerReport')->monthlyOn(1); $schedule->command('createOwnerBillReport')->monthlyOn(1); $schedule->command('createOwnerAreaReport')->monthlyOn(1); $schedule->command('sync:batch')->everyMinute(); $schedule->command('sync:order')->everyMinute(); $schedule->command('syncOrderPackageLogisticRouteTask')->dailyAt('1:20');//同步快递信息到orderPackage $schedule->command('SyncWmsCommoditiesInformation')->everyMinute(); $schedule->command('clear:cancelledOrder')->everyTenMinutes(); $schedule->command('WasSyncWmsAsnInformation')->everyMinute(); $schedule->command('create:weightStatistic')->dailyAt("00:30"); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__ . '/Commands'); $this->app->extend('command.model.make',function(ModelMakeCommand $base,$app){ return new \App\Console\Commands\MakeModelCommand($app['files']); }); require base_path('routes/console.php'); } }