job(SlidesStatusUpdate::class)->everyMinute(); $schedule->job(ProductsStatusUpdate::class)->everyMinute(); $schedule->job(ProductsOrderableUpdate::class)->everyMinute(); $schedule->command('sitemap:refresh')->dailyAt('16:13'); $schedule->job(JobsXmlIncoReader::class)->name('xml-inco-reader')->onOneServer()->dailyAt('15:00'); $schedule->job(DeleteOldOrders::class)->dailyAt('23:00'); $schedule->job(DeleteOldCustomers::class)->dailyAt('22:50'); $schedule->job(DeleteOldCollectionException::class)->dailyAt('10:42'); $schedule->job(DeleteOldTimeslots::class)->everyMinute(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }