feat(ssl): check for SSL renewal twice daily
This commit is contained in:
parent
806d9af569
commit
852be5fd93
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
use App\Jobs\DatabaseBackupJob;
|
use App\Jobs\DatabaseBackupJob;
|
||||||
use App\Jobs\DockerCleanupJob;
|
use App\Jobs\DockerCleanupJob;
|
||||||
use App\Jobs\PullTemplatesFromCDN;
|
use App\Jobs\PullTemplatesFromCDN;
|
||||||
|
use App\Jobs\RegenerateSslCertJob;
|
||||||
use App\Jobs\ScheduledTaskJob;
|
use App\Jobs\ScheduledTaskJob;
|
||||||
use App\Jobs\ServerCheckJob;
|
use App\Jobs\ServerCheckJob;
|
||||||
use App\Jobs\ServerCleanupMux;
|
use App\Jobs\ServerCleanupMux;
|
||||||
|
|
@ -84,6 +85,8 @@ protected function schedule(Schedule $schedule): void
|
||||||
$this->checkScheduledBackups();
|
$this->checkScheduledBackups();
|
||||||
$this->checkScheduledTasks();
|
$this->checkScheduledTasks();
|
||||||
|
|
||||||
|
$this->scheduleInstance->job(new RegenerateSslCertJob)->twiceDaily();
|
||||||
|
|
||||||
$this->scheduleInstance->command('cleanup:database --yes')->daily();
|
$this->scheduleInstance->command('cleanup:database --yes')->daily();
|
||||||
$this->scheduleInstance->command('uploads:clear')->everyTwoMinutes();
|
$this->scheduleInstance->command('uploads:clear')->everyTwoMinutes();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue