chore(PROJ-52): Cron-Job für Reconciliation in /etc/cron.d/archivmail ergänzen
Läuft nachts um 04:10 Uhr, nach dem Purge-Job und außerhalb der OCR-Pause. Ohne diesen Eintrag existierte der neue Subcommand "archivmail reconcile" nur manuell aufrufbar, ohne produktiven Betrieb. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
99e4c1bbe4
commit
e91206c2b5
@@ -63,5 +63,14 @@
|
|||||||
# OCR-Backlog (ocr_status='pending') alle 15 Minuten, um 5 Min versetzt
|
# OCR-Backlog (ocr_status='pending') alle 15 Minuten, um 5 Min versetzt
|
||||||
5,20,35,50 * * * * root /usr/local/bin/archivmail-ocr-reprocess.sh >> /var/log/archivmail/ocr-reprocess.log 2>&1
|
5,20,35,50 * * * * root /usr/local/bin/archivmail-ocr-reprocess.sh >> /var/log/archivmail/ocr-reprocess.log 2>&1
|
||||||
|
|
||||||
|
# ── Vollständigkeits-Reconciliation (PROJ-52) ───────────────────────────
|
||||||
|
# Berechnet täglich pro Tenant/Quelle (SMTP-Journal, IMAP-Konto, POP3-Konto,
|
||||||
|
# Datei-Import) die Anzahl archivierter Mails und schreibt einen Report
|
||||||
|
# nach reconciliation_reports. Bei Abweichung > reconciliation.alert_threshold_pct
|
||||||
|
# (config.yml, Default 50%) unter dem 7-Tage-Durchschnitt wird ein
|
||||||
|
# Audit-Log-Eintrag (reconciliation_anomaly) geschrieben. Läuft nachts um
|
||||||
|
# 04:10 Uhr, also nach Purge (03:40) und außerhalb der OCR-Pause.
|
||||||
|
10 4 * * * root /opt/archivmail/archivmail reconcile --config /etc/archivmail/config.yml >> /var/log/archivmail/reconcile.log 2>&1
|
||||||
|
|
||||||
# ── Weitere Jobs (geplant, noch nicht implementiert) ────────────────────
|
# ── Weitere Jobs (geplant, noch nicht implementiert) ────────────────────
|
||||||
# 30 2 * * * archivmail /opt/archivmail/archivmail reindex # nächtlicher Voll-Reindex
|
# 30 2 * * * archivmail /opt/archivmail/archivmail reindex # nächtlicher Voll-Reindex
|
||||||
|
|||||||
Reference in New Issue
Block a user