api code global jain

This commit is contained in:
Abhishek Mali
2025-11-05 10:37:10 +05:30
commit 52fe7e2bec
2834 changed files with 1784903 additions and 0 deletions

45
app/Console/Kernel.php Normal file
View File

@@ -0,0 +1,45 @@
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use App\Console\Commands\ReplaceVihaarEndLocation;
use App\Console\Commands\AddProfileCompletionPercentage;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use App\Console\Commands\AddSantProfileCompletionPercentage;
class Kernel extends ConsoleKernel
{
protected $commands = [
ReplaceVihaarEndLocation::class,
AddProfileCompletionPercentage::class,
AddSantProfileCompletionPercentage::class
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
$schedule->command('telescope:clear')->daily();
$schedule->command('check:vihaar')->hourly();
$schedule->command('download:new-app')->twiceDaily(9, 20);
$schedule->command('generate:memberid')->sundays()->at('10:00');
// $schedule->command('generate:memberid')->everyFiveMinutes();
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');
require base_path('routes/console.php');
}
}