From 19e0c104bd52428780b5e2072d1cd88fd12e7da1 Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 23 Jul 2020 15:39:40 +0200 Subject: Bugfix. Crawler starts indexing anime stats in the beginning of the day, not at the end. --- app/Console/Kernel.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/Console/Kernel.php') 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(); -- cgit v1.2.3