Skip to content

Commit

Permalink
修复命令错误
Browse files Browse the repository at this point in the history
larabbs:sync-user-actived-at	从 Redis 中同步最后登录时间到数据库中	每天早上 0 点准时
  • Loading branch information
2017noobman authored Mar 22, 2018
1 parent 3dd3a32 commit fd07b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function schedule(Schedule $schedule)
$schedule->command('larabbs:calculate-active-user')->hourly();

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

/**
Expand Down

0 comments on commit fd07b6d

Please sign in to comment.