@@ -142,7 +142,7 @@ class BookUpdate extends Command
if ($v['chapter_id'] != $ly_last_chapter_id) {
continue;
} else {
- \Log::info($v1);
+ \Log::info($v);
$start = true;
}
@@ -35,6 +35,8 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
+ $schedule->command('book:update')->dailyAt('22:00');
+ $schedule->command('book:update')->dailyAt('10:00');