command('LogExpireDelete')->dailyAt('00:01'); $schedule->command('InventoryDailyLoggingOwner')->dailyAt('08:00')->runInBackground(); $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('beforeCreateOwnerReport')->monthlyOn(1); $schedule->command('sync:batch')->everyMinute(); $schedule->command('sync:order')->everyMinute(); $schedule->command('syncOrderPackageLogisticRouteTask')->dailyAt('6:01')->runInBackground();//同步快递信息到orderPackage $schedule->command('syncOrderPackageLogisticRouteTask')->dailyAt('12:01')->runInBackground();//同步快递信息到orderPackage $schedule->command('syncOrderPackageLogisticRouteTask')->dailyAt('18:01')->runInBackground();//同步快递信息到orderPackage // $schedule->command('updateOrderPackageExceptionTypeCountingRecordTask')->dailyAt('2:20');//更新OrderPackageExceptionTypeCountingRecord $schedule->command('SyncWmsCommoditiesInformation')->everyMinute(); $schedule->command('clear:cancelledOrder')->everyMinute(); $schedule->command('WasSyncWmsAsnInformation')->everyMinute(); $schedule->command('create:weightStatistic')->dailyAt("00:30")->runInBackground(); $schedule->command('sync:carrier')->hourlyAt(1); $schedule->command('createProcurementTotalBill')->monthlyOn(1); $schedule->command('orderCountingRecordTask')->dailyAt("1:00")->runInBackground(); //$schedule->command('check:cacheRack')->everyMinute(); $schedule->command('AccordingToOwnersManualBack')->everyThirtyMinutes()->between('9:00','16:30')->runInBackground(); $schedule->job(new LaborApplyRecordJob(false))->dailyAt(LaborApplyService::TIME_OUT_HOUR.':01')->runInBackground();//生成临时工派遣数据 $schedule->job(new CalculationArrivedManNumJob(now()->subDays(2)->startOfDay()))->dailyAt('01:01')->runInBackground();//生成实际到岗人数数据 $schedule->command("record:scan")->hourlyAt(1);//退件信息标记 $schedule->command("receivingTask:batchEnd")->dailyAt('0:15')->runInBackground(); //批量完成入库单任务 $schedule->command("workOrder:timingTask")->dailyAt('0:15')->runInBackground(); // 工单定时任务 } /** * 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'); } }