summaryrefslogtreecommitdiff
path: root/app/Console/Kernel.php
diff options
context:
space:
mode:
authorhorus2022-11-17 21:32:52 +0100
committerhorus2022-11-17 21:32:52 +0100
commite757674c18a80a5bcdbcd031b35177b1e82eeb2d (patch)
treec7bb2966d6ab2b717bf5b803550fda213190e22c /app/Console/Kernel.php
parent965292ffe460b3cb5b9452161499d20310905589 (diff)
downloadsenpai-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.php2
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")