@@ -14,7 +14,7 @@ class TopicUseCount extends Command
*
* @var string
*/
- protected $signature = 'post:create_bean';
+ protected $signature = 'post:topic_use_count';
/**
* The console command description.
@@ -75,5 +75,10 @@ class Kernel extends ConsoleKernel
$schedule->command('post:collect_bean')
->everyFiveMinutes()
->withoutOverlapping()->appendOutputTo($path);
+
+ //更新话题使用数
+ $schedule->command('post:topic_use_count')
+ ->everyFiveMinutes()
+ ->withoutOverlapping()->appendOutputTo($path);
}