increased max execution limit in production report
This commit is contained in:
@@ -35,6 +35,9 @@ class SendProductionReport extends Command
|
|||||||
|
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
|
ini_set('max_execution_time', 0); // disable limit
|
||||||
|
set_time_limit(0);
|
||||||
|
|
||||||
$scheduleType = $this->argument('schedule_type');
|
$scheduleType = $this->argument('schedule_type');
|
||||||
$plantId = (int) $this->argument('plant'); // cast to int for safety
|
$plantId = (int) $this->argument('plant'); // cast to int for safety
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user