Inheritance diagram for App\Console\Kernel:

Protected Member Functions

 schedule (Schedule $schedule)
 Define the application's command schedule. More...
 

Protected Attributes

 $commands
 

Detailed Description

Definition at line 8 of file Console/Kernel.php.

Member Function Documentation

App\Console\Kernel::schedule ( Schedule  $schedule)
protected

Define the application's command schedule.

Parameters
\Illuminate\Console\Scheduling\Schedule$schedule
Returns
void

Definition at line 32 of file Console/Kernel.php.

33  {
34 
35  $schedule->command('alerts:inventory')->daily();
36  $schedule->command('alerts:expiring')->daily();
37  $schedule->command('snipeit:backup')->weekly();
38  }

Member Data Documentation

App\Console\Kernel::$commands
protected
Initial value:
= [
Commands\PaveIt::class,
Commands\CreateAdmin::class,
Commands\SendExpirationAlerts::class,
Commands\SendInventoryAlerts::class,
Commands\AssetImportCommand::class,
Commands\LicenseImportCommand::class,
Commands\Versioning::class,
Commands\SystemBackup::class,
]

Definition at line 15 of file Console/Kernel.php.


The documentation for this class was generated from the following file: