PATH:
home
/
rwabteecom
/
public_html
/
app
/
Console
/
Editing: Kernel.php
<?php namespace App\Console; use App\Console\Commands\GenerateSiteMap; use Illuminate\Console\Scheduling\Schedule; use App\Console\Commands\PlanExpirationMailCommand; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ GenerateSiteMap::class, PlanExpirationMailCommand::class ]; /** * Define the application's command schedule. */ protected function schedule(Schedule $schedule): void { $schedule->command('sitemap:generate')->daily(); $schedule->command(PlanExpirationMailCommand::class)->daily(); $schedule->command(PlanExpirationMailCommand::class)->daily(); } /** * Register the commands for the application. */ protected function commands(): void { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }
SAVE
CANCEL