job(CafelFoodJob::class, 'cafel')->onOneServer()->everySixHours(); $schedule->job(CafelBeaVolJob::class, 'cafel')->onOneServer()->everySixHours(); $schedule->job(CafelMepEggJob::class, 'cafel')->onOneServer()->everySixHours(); $schedule->job(CafelEggBreederJob::class, 'cafel')->onOneServer()->everySixHours(); $schedule->job(CafelPoultryBreederJob::class, 'cafel')->onOneServer()->everySixHours(); $schedule->job(XmlFluxEggJob::class, 'tracea')->onOneServer()->dailyAt('02:00'); $schedule->job(XmlFluxPoultryJob::class, 'tracea')->onOneServer()->dailyAt('22:00'); $schedule->command('xml:clean_olds')->onOneServer()->dailyAt('06:00'); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }