|
@@ -3,6 +3,7 @@
|
|
|
namespace App\Console;
|
|
|
|
|
|
use App\Console\Commands\Apollo;
|
|
|
+use App\Console\Commands\CommunityMemberStatistics;
|
|
|
use App\Console\Commands\Downloads;
|
|
|
use App\Console\Commands\PostStatistics;
|
|
|
use App\Console\Commands\PostYesterday;
|
|
@@ -22,7 +23,8 @@ class Kernel extends ConsoleKernel
|
|
|
PostYesterday::class,
|
|
|
Downloads::class,
|
|
|
VirusAdd::class,
|
|
|
- PostStatistics::class
|
|
|
+ PostStatistics::class,
|
|
|
+ CommunityMemberStatistics::class
|
|
|
];
|
|
|
|
|
|
/**
|
|
@@ -47,7 +49,7 @@ class Kernel extends ConsoleKernel
|
|
|
->withoutOverlapping()->appendOutputTo($path);
|
|
|
//统计前一天用户行为累加
|
|
|
$schedule->command('member:statistics')
|
|
|
- ->daily()
|
|
|
+ ->dailyAt('00:05')
|
|
|
->withoutOverlapping()->appendOutputTo($path);
|
|
|
}
|
|
|
}
|