M3 Integration fixes

This commit is contained in:
Mark Gregory
2026-09-21 10:14:57 +01:00
parent 4af997c465
commit 6d60cbff84
5853 changed files with 79032 additions and 1825 deletions
+56
View File
@@ -0,0 +1,56 @@
<?php
namespace Modules\M3\Console;
use Config;
use Illuminate\Console\Command;
use Illuminate\Http\Request;
use Log;
use Modules\M3\Http\Controllers\UtilitiesController;
class UtilitiesCmd extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'command:UtilitiesCmd';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Utilities Command';
/**
* Create a new command instance.
*
* @return void
*/
/**
* Execute the console command.
*
* @return int
*/
public function handle(): void
{
ini_set('max_execution_time', Config::get('arrays.PHPTimeOutCL'));
ini_set('max_input_time', Config::get('arrays.PHPTimeOutCL'));
ini_set('default_socket_timeout', Config::get('arrays.PHPTimeOutCL'));
ini_set('memory_limit', '1024M');
try {
$this->info('Start Utilities Command...');
$myRequest = new Request;
UtilitiesController::fixICM799MSentPKR($myRequest);
$this->info('End Utilities Command...');
} catch (\Throwable $th) {
Log::channel('dailyCron')->error($th);
}
}
}