job(new RecurringInvoicesCron)->hourly(); $schedule->job(new VersionCheck)->daily(); /* Build queue snapshots */ $schedule->command('horizon:snapshot')->everyFiveMinutes(); /* Run queue's in shared hosting with this*/ if(Ninja::isSelfHost()) $schedule->command('queue:work')->everyMinute()->withoutOverlapping(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }