command('push:task')->everyMinute()->sendOutputTo(storage_path('pushCommand-' . date('Y-m-d'))); // 每天的活动统计 $schedule->command('activity:stats')->dailyAt('01:00'); // 每天的推送统计 $schedule->command('push:stats')->dailyAt('00:30'); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); } }