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
$startedAt Carbon
The 24 hour timestamp this scheduler command started running.
Default: null
protected
$eventsRan bool
Check if any events ran.
Default: false
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
- $schedule Schedule
- $dispatcher Dispatcher
- $cache Repository
- $handler ExceptionHandler
protected
runSingleServerEvent ( $event ) : void
Run the given single server event.
Parameters
- $event Event
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.