class Illuminate / Console / Scheduling / ScheduleRunCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.

ScheduleRunCommand

Extends

Properties

protected

$name string

The console command name.

Default: 'schedule:run'
protected

$description string

The console command description.

Default: 'Run the scheduled commands'
protected

$schedule Schedule

The schedule instance.

Default: null
protected

$startedAt Carbon

The 24 hour timestamp this scheduler command started running.

Default: null
protected

$eventsRan bool

Check if any events ran.

Default: false
protected

$dispatcher Dispatcher

The event dispatcher.

Default: null
protected

$handler ExceptionHandler

The exception handler.

Default: null

Methods

public

__construct ( ) : void

Create a new command instance.

public

handle ( Schedule $schedule , Dispatcher $dispatcher , ExceptionHandler $handler ) : void

Execute the console command.

Parameters

protected

runSingleServerEvent ( $event ) : void

Run the given single server event.

Parameters

protected

runEvent ( $event ) : void

Run the given event.

Parameters