command('autoJob')->everyMinute(); $schedule->command('nodeStatusDetection')->everyTenMinutes(); $schedule->command('serviceTimer')->everyTenMinutes(); $schedule->command('autoClearLogs')->everyThirtyMinutes(); $schedule->command('nodeHourlyTrafficStatistics')->hourly(); $schedule->command('userHourlyTrafficMonitoring')->hourly(); $schedule->command('dailyJob')->daily(); $schedule->command('dailyNodeReport')->dailyAt('09:00'); $schedule->command('userTrafficWarning')->dailyAt('10:30'); $schedule->command('userExpireWarning')->dailyAt('20:00'); $schedule->command('userDailyTrafficStatistics')->dailyAt('23:55'); $schedule->command('nodeDailyTrafficStatistics')->dailyAt('23:57'); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }