Added ability to send emails on errors (change required)

Add MAIL_TO_ADDRESS in .env and make sure iana_email is configured.
This commit is contained in:
Pinga 2025-02-14 21:32:34 +02:00
parent 2adce55a07
commit 4658913847
8 changed files with 14 additions and 211 deletions

View file

@ -57,6 +57,8 @@ $scheduler->php('/opt/registry/automation/domain-lifecycle-manager.php')->at('*/
$scheduler->php('/opt/registry/automation/auto-approve-transfer.php')->at('*/30 * * * *');
$scheduler->php('/opt/registry/automation/auto-clean-unused-contact-and-host.php')->at('5 0 * * *');
$scheduler->php('/opt/registry/automation/archive-logs.php')->at('0 1 1 * *');
// Conditional Cron Jobs
if ($cronJobConfig['accounting']) {
$scheduler->php('/opt/registry/automation/send-invoice.php')->at('1 0 1 * *');