diff options
| author | horus | 2020-07-23 15:39:40 +0200 |
|---|---|---|
| committer | horus | 2020-07-23 15:39:40 +0200 |
| commit | 19e0c104bd52428780b5e2072d1cd88fd12e7da1 (patch) | |
| tree | ba1ead35ae494847c26ebf40154215fc7be20197 /app/Console | |
| parent | 79676f23c9556abd13421c4c231db5a0c9880661 (diff) | |
| download | senpai-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.php | 3 |
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(); |
