diff --git a/app/Console/Commands/SendProductionReport.php b/app/Console/Commands/SendProductionReport.php index cc4b8e7..56589b1 100644 --- a/app/Console/Commands/SendProductionReport.php +++ b/app/Console/Commands/SendProductionReport.php @@ -35,6 +35,9 @@ class SendProductionReport extends Command public function handle() { + ini_set('max_execution_time', 0); // disable limit + set_time_limit(0); + $scheduleType = $this->argument('schedule_type'); $plantId = (int) $this->argument('plant'); // cast to int for safety