Skip to content

Commit fd07b6d

Browse files
authored
修复命令错误
larabbs:sync-user-actived-at 从 Redis 中同步最后登录时间到数据库中 每天早上 0 点准时
1 parent 3dd3a32 commit fd07b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Console/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function schedule(Schedule $schedule)
3131
$schedule->command('larabbs:calculate-active-user')->hourly();
3232

3333
// 每日零时执行一次
34-
$schedule->command('larabbs:calculate-active-user')->dailyAt('00:00');
34+
$schedule->command('larabbs:sync-user-actived-at')->dailyAt('00:00');
3535
}
3636

3737
/**

0 commit comments

Comments
 (0)