Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../../app/Console/Commands
الملفات الموجودة في هذا الـ Path:
.
..
Build.php
CheckSchedule.php
ClearAll.php
RefreshDatabase.php

مشاهدة ملف: CheckSchedule.php

<?php

namespace App\Console\Commands;

use App\Http\Controllers\ScheduleController;
use Illuminate\Console\Command;

class CheckSchedule extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'pico:check-schedule';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Check schedule';

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        (new ScheduleController)->check();
        return Command::SUCCESS;
    }
}