| Path : /var/www/html/thb_loan_system/app/Console/Commands/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //var/www/html/thb_loan_system/app/Console/Commands/LoanScheduler.php |
<?php
namespace App\Console\Commands;
use App\Http\Controllers\CronController;
use Illuminate\Console\Command;
class LoanScheduler extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'loan_scheduler:run';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Run Loan Scheduler';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$cron = new CronController();
$cron->index();
return Command::SUCCESS;
}
}