D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
www
/
waboost.softurecs.com
/
app
/
Console
/
Filename :
Kernel.php
back
Copy
<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected $commands = [ Commands\ScheduleCron::class ]; protected function schedule(Schedule $schedule) { $schedule->command('schedule:cron')->everyFiveMinutes()->withoutOverlapping(); $schedule->command('subscription:check')->daily()->withoutOverlapping(); $schedule->command('start:blast')->everyMinute()->withoutOverlapping(); // $schedule->command('schedule:blast')->everyMinute(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }