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
$startedAt Carbon
The 24 hour timestamp this scheduler command started running.
Default: null
protected
$eventsRan bool
Check if any events ran.
Default: false
Methods
public
__construct ( ) : void
Create a new command instance.
public
handle ( Schedule $schedule , Dispatcher $dispatcher , ExceptionHandler $handler ) : void
Execute the console command.
Parameters
- $schedule Schedule
- $dispatcher Dispatcher
- $handler ExceptionHandler
protected
runSingleServerEvent ( $event ) : void
Run the given single server event.
Parameters
- $event Event