|
@@ -75,5 +75,10 @@ class Kernel extends ConsoleKernel
|
|
$schedule->command('post:collect_bean')
|
|
$schedule->command('post:collect_bean')
|
|
->everyFiveMinutes()
|
|
->everyFiveMinutes()
|
|
->withoutOverlapping()->appendOutputTo($path);
|
|
->withoutOverlapping()->appendOutputTo($path);
|
|
|
|
+
|
|
|
|
+ //更新话题使用数
|
|
|
|
+ $schedule->command('post:topic_use_count')
|
|
|
|
+ ->everyFiveMinutes()
|
|
|
|
+ ->withoutOverlapping()->appendOutputTo($path);
|
|
}
|
|
}
|
|
}
|
|
}
|