Alarm-Mail bei fehlgeschlagenen geplanten Aufgaben und Queue-Jobs
- OperationalAlert: Log (Kanal monitoring) immer, Mail an MONITORING_ALERT_EMAIL (Standard EXCEPTION_MAIL), optional ntfy; gleiche Meldung hoechstens einmal pro Stunde - Kernel: onFailure fuer alle geplanten Aufgaben (auch kuenftige) - AppServiceProvider: Queue::failing - withoutOverlapping mit kurzen Sperrdauern (10-60 Min.) statt 24 h Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
fdbb4f3853
commit
c9cd17a41a
7 changed files with 300 additions and 4 deletions
|
|
@ -34,6 +34,12 @@ return [
|
|||
|
||||
'channels' => [
|
||||
|
||||
'monitoring' => [
|
||||
'driver' => 'daily',
|
||||
'path' => storage_path('logs/monitoring.log'),
|
||||
'level' => 'debug',
|
||||
'days' => 30,
|
||||
],
|
||||
'order_controller' => [
|
||||
'driver' => 'daily',
|
||||
'path' => storage_path('logs/order_controller.log'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue