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
*/
//$schedule->command('MiningTax:Observers')
// ->dailyAt('22:00');
$schedule->command('MiningTax:Observers')
->dailyAt('22:00');
$schedule->command('MiningTax:Ledgers')
->dailyAt('20:00');
$schedule->command('MiningTax:Invoices')
->weeklyOn(1, '8:00');
->weeklyOn(1, '6:00');
$schedule->command('MiningTax:Payments')
->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) {
$sentmail = new SentMail;
$sentmail->sender = $sender;

View File

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