!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/notification/vendor/illuminate/console/Scheduling/   drwxr-xr-x
Free 13.31 GB of 57.97 GB (22.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ScheduleRunCommand.php (4.21 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Console\Scheduling;

use 
Illuminate\Console\Command;
use 
Illuminate\Console\Events\ScheduledTaskFailed;
use 
Illuminate\Console\Events\ScheduledTaskFinished;
use 
Illuminate\Console\Events\ScheduledTaskSkipped;
use 
Illuminate\Console\Events\ScheduledTaskStarting;
use 
Illuminate\Contracts\Debug\ExceptionHandler;
use 
Illuminate\Contracts\Events\Dispatcher;
use 
Illuminate\Support\Facades\Date;
use 
Symfony\Component\Console\Attribute\AsCommand;
use 
Throwable;

#[
AsCommand(name'schedule:run')]
class 
ScheduleRunCommand extends Command
{
    
/**
     * The console command name.
     *
     * @var string
     */
    
protected $name 'schedule:run';

    
/**
     * The name of the console command.
     *
     * This name is used to identify the command during lazy loading.
     *
     * @var string|null
     *
     * @deprecated
     */
    
protected static $defaultName 'schedule:run';

    
/**
     * The console command description.
     *
     * @var string
     */
    
protected $description 'Run the scheduled commands';

    
/**
     * The schedule instance.
     *
     * @var \Illuminate\Console\Scheduling\Schedule
     */
    
protected $schedule;

    
/**
     * The 24 hour timestamp this scheduler command started running.
     *
     * @var \Illuminate\Support\Carbon
     */
    
protected $startedAt;

    
/**
     * Check if any events ran.
     *
     * @var bool
     */
    
protected $eventsRan false;

    
/**
     * The event dispatcher.
     *
     * @var \Illuminate\Contracts\Events\Dispatcher
     */
    
protected $dispatcher;

    
/**
     * The exception handler.
     *
     * @var \Illuminate\Contracts\Debug\ExceptionHandler
     */
    
protected $handler;

    
/**
     * Create a new command instance.
     *
     * @return void
     */
    
public function __construct()
    {
        
$this->startedAt Date::now();

        
parent::__construct();
    }

    
/**
     * Execute the console command.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @param  \Illuminate\Contracts\Events\Dispatcher  $dispatcher
     * @param  \Illuminate\Contracts\Debug\ExceptionHandler  $handler
     * @return void
     */
    
public function handle(Schedule $scheduleDispatcher $dispatcherExceptionHandler $handler)
    {
        
$this->schedule $schedule;
        
$this->dispatcher $dispatcher;
        
$this->handler $handler;

        foreach (
$this->schedule->dueEvents($this->laravel) as $event) {
            if (! 
$event->filtersPass($this->laravel)) {
                
$this->dispatcher->dispatch(new ScheduledTaskSkipped($event));

                continue;
            }

            if (
$event->onOneServer) {
                
$this->runSingleServerEvent($event);
            } else {
                
$this->runEvent($event);
            }

            
$this->eventsRan true;
        }

        if (! 
$this->eventsRan) {
            
$this->info('No scheduled commands are ready to run.');
        }
    }

    
/**
     * Run the given single server event.
     *
     * @param  \Illuminate\Console\Scheduling\Event  $event
     * @return void
     */
    
protected function runSingleServerEvent($event)
    {
        if (
$this->schedule->serverShouldRun($event$this->startedAt)) {
            
$this->runEvent($event);
        } else {
            
$this->line('<info>Skipping command (has already run on another server):</info> '.$event->getSummaryForDisplay());
        }
    }

    
/**
     * Run the given event.
     *
     * @param  \Illuminate\Console\Scheduling\Event  $event
     * @return void
     */
    
protected function runEvent($event)
    {
        
$this->line('<info>['.date('c').'] Running scheduled command:</info> '.$event->getSummaryForDisplay());

        
$this->dispatcher->dispatch(new ScheduledTaskStarting($event));

        
$start microtime(true);

        try {
            
$event->run($this->laravel);

            
$this->dispatcher->dispatch(new ScheduledTaskFinished(
                
$event,
                
round(microtime(true) - $start2)
            ));

            
$this->eventsRan true;
        } catch (
Throwable $e) {
            
$this->dispatcher->dispatch(new ScheduledTaskFailed($event$e));

            
$this->handler->report($e);
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0104 ]--