17 lines
424 B
PHP
17 lines
424 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
use Infra\Jobs\CheckArcadiaDatabaseConformityJob;
|
|
use Infra\Jobs\HealthCheckJob;
|
|
|
|
return function (Schedule $schedule): void {
|
|
$schedule->job(new HealthCheckJob())
|
|
->everyTenMinutes()
|
|
->withoutOverlapping(15);
|
|
|
|
$schedule->job(new CheckArcadiaDatabaseConformityJob())
|
|
->hourly()
|
|
->withoutOverlapping(10);
|
|
};
|