issue solve din production report send mail
This commit is contained in:
@@ -147,22 +147,22 @@ app()->booted(function () {
|
||||
->get();
|
||||
|
||||
foreach ($productionRules as $rule) {
|
||||
$command = $schedule->command("send:production-report --email={$rule->email}");
|
||||
$command = $schedule->command("send:production-report");
|
||||
|
||||
switch ($rule->schedule_type) {
|
||||
case 'Live':
|
||||
$command->everyMinute();
|
||||
Log::info("Scheduled Live production report for {$rule->email}");
|
||||
// Log::info("Scheduled Live production report for");
|
||||
break;
|
||||
|
||||
case 'Hourly':
|
||||
$command->hourly();
|
||||
Log::info("Scheduled Hourly production report for {$rule->email}");
|
||||
//Log::info("Scheduled Hourly production report for {$rule->email}");
|
||||
break;
|
||||
|
||||
case 'Daily':
|
||||
$command->dailyAt('07:59');
|
||||
Log::info("Scheduled Daily production report for {$rule->email}");
|
||||
// Log::info("Scheduled Daily production report for {$rule->email}");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user