summaryrefslogtreecommitdiff
path: root/app/Console
diff options
context:
space:
mode:
authorhorus2020-07-23 15:39:40 +0200
committerhorus2020-07-23 15:39:40 +0200
commit19e0c104bd52428780b5e2072d1cd88fd12e7da1 (patch)
treeba1ead35ae494847c26ebf40154215fc7be20197 /app/Console
parent79676f23c9556abd13421c4c231db5a0c9880661 (diff)
downloadsenpai-19e0c104bd52428780b5e2072d1cd88fd12e7da1.tar.gz
Bugfix. Crawler starts indexing anime stats in the beginning of the day, not at the end.
Diffstat (limited to 'app/Console')
-rw-r--r--app/Console/Kernel.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index 3bd744e..f7dc4eb 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -36,7 +36,8 @@ class Kernel extends ConsoleKernel
$schedule->call( function(){
$background = new Background();
$background->saveAnimeStats();
- })->dailyAt('22:00');
+ })->everyThirtyMinutes()->name('saveStats')->withoutOverlapping(2);
+ #})->everyMinute();
$schedule->call( function(){
$background = new Background();