updated schedule for mining tax invoices
updated process send eve mail job updated horizon configuration
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -80,6 +80,7 @@ return [
|
||||
|
||||
'waits' => [
|
||||
'redis:default' => 60,
|
||||
'redis:critical,high' => 90,
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user