command('db_queue')->everyMinute()->description('批量处理redis队列任务'); $schedule->command('exempt_review')->everyMinute()->description('免审提现'); $schedule->command('record_server_game_count')->cron('*/15 * * * * ')->description('按天统计游戏人数'); $schedule->command('online_max')->cron('*/8 * * * * ')->description('最高在线人数统计'); $schedule->command('record_server_game_count_yesterday')->cron('05 0 * * * ')->description('按天统计游戏人数--今日执行昨日'); $schedule->command('RecordPlatformData')->cron('10 0 * * * ')->description('数据统计'); $schedule->command('RecordUserScoreChangeStatistics')->cron('03 0 * * * ')->description('用户金额变化明细按天按用户汇总'); $schedule->command('online_report')->everyMinute()->description('每分钟统计曲线'); // $schedule->command('record_three_game_yesterday')->cron('05 0 * * * ')->description('按天统计游戏人数--今日执行昨日'); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); // require base_path('routes/console.php'); } }