command('sanctum:prune-expired --hours=24')->daily(); // dispatch HostCost job $schedule->job(new HostCost())->everyFiveMinutes(); // $schedule->job(new UserSave())->everyTenMinutes(); $schedule->job(new FetchModule())->withoutOverlapping()->everyMinute(); // $schedule->job(new Remote\PushHost())->everyMinute()->onOneServer(); $schedule->job(new PushWorkOrder())->everyMinute()->onOneServer(); $schedule->job(new ClearTasks())->weekly(); $schedule->job(new DeleteHost())->hourly(); $schedule->job(new CheckHostIfExistsOnModule())->everyThirtyMinutes()->withoutOverlapping()->onOneServer(); $schedule->job(new CheckAndChargeBalance())->everyFiveMinutes()->onOneServer()->withoutOverlapping(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }