Create RunPhyreRepair.php

This commit is contained in:
Bozhidar 2024-05-02 12:12:53 +03:00
parent 67c47a9581
commit 6b52300332

View file

@ -0,0 +1,36 @@
<?php
namespace app\Console\Commands;
use App\Models\Backup;
use App\Models\HostingSubscription;
use Carbon\Carbon;
use Illuminate\Console\Command;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class RunPhyreRepair extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'phyre:run-repair';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
/**
* Execute the console command.
*/
public function handle()
{
$checkApacheStatus = shell_exec('service apache2 status');
}
}