everyFiveMinutes() ->withoutOverlapping() ->runInBackground(); /* * Safety net for image processing. Uploads queue their own work, but a worker * that is down would otherwise leave images without dimensions indefinitely — * and the symptom, a page that reflows as it loads, is easy to miss. */ Schedule::command('media:process') ->everyTenMinutes() ->withoutOverlapping() ->runInBackground(); Schedule::command('repos:sync') ->cron(match ($cron = (string) config('git.sync_cron', 'hourly')) { 'hourly' => '0 * * * *', 'daily' => '0 4 * * *', default => $cron, }) ->withoutOverlapping() ->runInBackground();