class Illuminate / Console / Scheduling / ScheduleRunCommand

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
protected

$cache Repository

The cache store implementation.

Default: null
protected

$phpBinary string

The PHP binary used by the command.

Default: null

Methods

public

__construct ( ) : void

Create a new command instance.

public

handle ( Schedule $schedule , Dispatcher $dispatcher , Repository $cache , 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

protected

repeatEvents ( $events ) : void

Run the given repeating events.

Parameters

  • $events Illuminate\...\Event>
protected

shouldInterrupt ( ) : bool

Determine if the schedule run should be interrupted.

protected

clearInterruptSignal ( ) : bool

Ensure the interrupt signal is cleared.