command('autoJob')->everyMinute(); $schedule->command('serviceTimer')->everyTenMinutes(); $schedule->command('autoClearLog')->everyThirtyMinutes(); $schedule->command('nodeBlockedDetection')->everyTenMinutes(); $schedule->command('autoStatisticsNodeHourlyTraffic')->hourly(); $schedule->command('autoStatisticsUserHourlyTraffic')->hourly(); $schedule->command('userTrafficAbnormalAutoWarning')->hourly(); $schedule->command('autoPingNode')->twiceDaily(); $schedule->command('dailyJob')->daily(); $schedule->command('autoReportNode')->dailyAt('09:00'); $schedule->command('userTrafficAutoWarning')->dailyAt('10:30'); $schedule->command('userExpireAutoWarning')->dailyAt('20:00'); $schedule->command('autoStatisticsUserDailyTraffic')->dailyAt('23:55'); $schedule->command('autoStatisticsNodeDailyTraffic')->dailyAt('23:57'); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }