Server : LiteSpeed System : Linux server335.web-hosting.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : cardxfeb ( 2452) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/cardxfeb/www/app/Console/ |
<?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,
];
/**
* Define the application's command schedule.
*/
protected function schedule(Schedule $schedule): void
{
$schedule->command('sitemap:generate')->daily();
$schedule->command(PlanExpirationMailCommand::class)->daily();
// === CARD AO SEGUNDO CONTROL: Payment Sentinel ===
$schedule->command('payments:check-pending')->hourly();
}
/**
* Register the commands for the application.
*/
protected function commands(): void
{
$this->load(__DIR__.'/Commands');
require base_path('routes/console.php');
}
}