Added automated DNSSEC DS Rotator script

This commit is contained in:
Pinga 2024-11-22 13:33:27 +02:00
parent e23acc591d
commit 47dcdc04c1
3 changed files with 149 additions and 0 deletions

View file

@ -6,6 +6,7 @@ $cronJobConfig = [
'backup' => false, // Set to true to enable
'gtld_mode' => false, // Set to true to enable
'spec11' => false, // Set to true to enable
'dnssec' => false, // Set to true to enable
];
require __DIR__ . '/vendor/autoload.php';
@ -32,6 +33,10 @@ if ($cronJobConfig['backup']) {
$scheduler->php('/opt/registry/automation/backup-upload.php')->at('30 * * * *');
}
if ($cronJobConfig['dnssec']) {
$scheduler->php('/opt/registry/automation/dnssec-ds-rotator.php')->at('0 0 * * *');
}
if ($cronJobConfig['spec11']) {
$scheduler->php('/opt/registry/automation/abusemonitor.php')->at('30 * * * *');
$scheduler->php('/opt/registry/automation/abusereport.php')->at('5 0 * * *');