diff --git a/app/Console/Commands/Scheduler.php b/app/Console/Commands/Scheduler.php index 2fa436a..2bbaa51 100644 --- a/app/Console/Commands/Scheduler.php +++ b/app/Console/Commands/Scheduler.php @@ -39,6 +39,8 @@ class Scheduler extends Command public function handle() { + // $this->call('approval:trigger-mails'); + // --- Production Rules --- $productionRules = AlertMailRule::where('module', 'ProductionQuantities') ->where('rule_name', 'ProductionMail') @@ -174,7 +176,7 @@ class Scheduler extends Command } break; case 'Daily': - if (now()->format('H:i') == '10:00') { + if (now()->format('H:i') == '10:30') { \Artisan::call('send:invoice-data-report', [ 'schedule_type' => $rule->schedule_type, 'plant' => $rule->plant, @@ -209,7 +211,7 @@ class Scheduler extends Command } break; case 'Daily': - if (now()->format('H:i') == '10:00') { + if (now()->format('H:i') == '10:45') { \Artisan::call('send:invoice-transit-report', [ 'schedule_type' => $rule->schedule_type, 'plant' => $rule->plant,