diff options
| author | horus | 2022-11-17 21:32:52 +0100 |
|---|---|---|
| committer | horus | 2022-11-17 21:32:52 +0100 |
| commit | e757674c18a80a5bcdbcd031b35177b1e82eeb2d (patch) | |
| tree | c7bb2966d6ab2b717bf5b803550fda213190e22c /app/Console/Kernel.php | |
| parent | 965292ffe460b3cb5b9452161499d20310905589 (diff) | |
| download | senpai-e757674c18a80a5bcdbcd031b35177b1e82eeb2d.tar.gz | |
Don't send emails when there is nothing to report
Diffstat (limited to 'app/Console/Kernel.php')
| -rw-r--r-- | app/Console/Kernel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index ccad119..5ae24a6 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -27,7 +27,7 @@ class Kernel extends ConsoleKernel $schedule->command("anime:saveStats") ->everyThirtyMinutes()->name('saveStats') - ->emailOutputTo( env('STATUS_MAIL_ADDRESS') ) + ->emailOutputOnFailure( env('STATUS_MAIL_ADDRESS') ) ->withoutOverlapping(); $schedule->command("anime:saveSeasonAiring") |
