command(Commands\BiAng\WormStatisticsSyncCommand::class) ->hourly() ->runInBackground(); $schedule->command(Commands\Linkos\WormReportCommand::class) ->hourlyAt(15) ->runInBackground(); $schedule->command(Commands\MonitorDeviceHealthCommand::class, ['yidong']) ->everyFiveMinutes() ->runInBackground(); $schedule->command(Commands\MonitorDeviceHealthCommand::class, ['dianxin']) ->everyFiveMinutes() ->runInBackground(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }