updated schedule for mining tax invoices

updated process send eve mail job
updated horizon configuration
This commit is contained in:
2021-03-30 00:30:17 +09:00
parent 49aab1b97a
commit 794f358353
3 changed files with 8 additions and 3 deletions

View File

@@ -75,12 +75,12 @@ class Kernel extends ConsoleKernel
/** /**
* Mining Tax Schedule * Mining Tax Schedule
*/ */
//$schedule->command('MiningTax:Observers') $schedule->command('MiningTax:Observers')
// ->dailyAt('22:00'); ->dailyAt('22:00');
$schedule->command('MiningTax:Ledgers') $schedule->command('MiningTax:Ledgers')
->dailyAt('20:00'); ->dailyAt('20:00');
$schedule->command('MiningTax:Invoices') $schedule->command('MiningTax:Invoices')
->weeklyOn(1, '8:00'); ->weeklyOn(1, '6:00');
$schedule->command('MiningTax:Payments') $schedule->command('MiningTax:Payments')
->hourlyAt('15'); ->hourlyAt('15');
} }

View File

@@ -199,6 +199,10 @@ class ProcessSendEveMailJob implements ShouldQueue
} }
} }
public function tags() {
return ['ProcessEveMails'];
}
private function SaveSentRecord($sender, $subject, $body, $recipient, $recipientType) { private function SaveSentRecord($sender, $subject, $body, $recipient, $recipientType) {
$sentmail = new SentMail; $sentmail = new SentMail;
$sentmail->sender = $sender; $sentmail->sender = $sender;

View File

@@ -80,6 +80,7 @@ return [
'waits' => [ 'waits' => [
'redis:default' => 60, 'redis:default' => 60,
'redis:critical,high' => 90,
], ],
/* /*