From b36700af92fdc1bce1f28fb94b01bd84083cb387 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 8 Jul 2025 18:08:47 +0530 Subject: [PATCH] removed run in background for mail report --- routes/console.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/routes/console.php b/routes/console.php index d22107251..7e8488ba3 100644 --- a/routes/console.php +++ b/routes/console.php @@ -36,16 +36,16 @@ foreach ($rules as $rule) { switch ($scheduleType) { case 'Live': - Schedule::command("send:invoice-report {$rule['argument']}")->everyMinute()->runInBackground(); + Schedule::command("send:invoice-report {$rule['argument']}")->everyMinute(); break; case 'Hourly': - Schedule::command("send:invoice-report {$rule['argument']}")->hourly()->runInBackground(); + Schedule::command("send:invoice-report {$rule['argument']}")->hourly(); break; case 'Daily': - Schedule::command("send:invoice-report {$rule['argument']}")->dailyAt('07:59')->runInBackground(); + Schedule::command("send:invoice-report {$rule['argument']}")->dailyAt('07:59'); break; default: - Schedule::command("send:invoice-report {$rule['argument']}")->hourly()->runInBackground(); + Schedule::command("send:invoice-report {$rule['argument']}")->hourly(); break; } } @@ -57,16 +57,16 @@ $productionScheduleType = AlertMailRule::where('module', 'ProductionQuantities') switch ($productionScheduleType) { case 'Live': - Schedule::command('send:production-report')->everyMinute()->runInBackground(); + Schedule::command('send:production-report')->everyMinute(); break; case 'Hourly': - Schedule::command('send:production-report')->hourly()->runInBackground(); + Schedule::command('send:production-report')->hourly(); break; case 'Daily': - Schedule::command('send:production-report')->dailyAt('07:59')->runInBackground(); + Schedule::command('send:production-report')->dailyAt('07:59'); break; default: - Schedule::command('send:production-report')->hourly()->runInBackground(); + Schedule::command('send:production-report')->hourly(); break; }