command('command:autoBanUserJob')->everyTenMinutes(); $schedule->command('command:autoClearLogJob')->everyThirtyMinutes(); $schedule->command('command:autoDecGoodsTrafficJob')->everyTenMinutes(); $schedule->command('command:autoDisableExpireUserJob')->everyMinute(); $schedule->command('command:autoExpireCouponJob')->everyThirtyMinutes(); $schedule->command('command:autoExpireInviteJob')->everyThirtyMinutes(); //$schedule->command('command:autoGetLocationInfoJob')->everyMinute(); $schedule->command('command:autoReopenUserJob')->everyMinute(); $schedule->command('command:autoResetUserTrafficJob')->everyFiveMinutes(); $schedule->command('command:autoStatisticsNodeDailyTrafficJob')->dailyAt('04:30'); $schedule->command('command:autoStatisticsNodeHourlyTrafficJob')->hourly(); $schedule->command('command:autoStatisticsUserDailyTrafficJob')->dailyAt('03:00'); $schedule->command('command:autoStatisticsUserHourlyTrafficJob')->hourly(); $schedule->command('command:userExpireWarningJob')->daily(); $schedule->command('command:userTrafficWarningJob')->daily(); } /** * Register the Closure based commands for the application. * * @return void */ protected function commands() { require base_path('routes/console.php'); } }