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
|
* 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');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ return [
|
|||||||
|
|
||||||
'waits' => [
|
'waits' => [
|
||||||
'redis:default' => 60,
|
'redis:default' => 60,
|
||||||
|
'redis:critical,high' => 90,
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user