vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleWorkCommand.php
/**
     * Execute the console command.
     *
     * @return void
     */
Execute the console command.
@return void
Execute the console command . @return void
public function handle()
    {
        $this->info('Schedule worker started successfully.');
        while (true) {
            if (Carbon::now()->second === 0) {
                $this->call('schedule:run');
            }
            sleep(1);
        }
    }
public function handle ( ) { $ this -> info ( 'Schedule worker started successfully.' ) ; while ( true ) { if ( Carbon :: now ( ) -> second === 0 ) { $ this -> call ( 'schedule:run' ) ; } sleep ( 1 ) ; } }
Execute the console command.
Execute the console command .