Skip to content

GdprAutomation Module

Overview

The GdprAutomation module handles scheduled GDPR tasks including automated data anonymization, cleanup, and retention management.

Configuration

Path: Stores > Configuration > GDPR Compliance > Automation

  • Enable Auto-Anonymization - Automatically anonymize inactive accounts
  • Inactive Period (days) - Days before anonymization (default: 90)
  • Order Anonymization Period (days) - Days before order anonymization (default: 120)
  • Exclude Active Orders - Don't anonymize with pending orders
  • Send Warning Email - Email before anonymization
  • Warning Period (days) - Days before warning

Cron Jobs

Anonymization Job

Schedule: Daily at 2:00 AM Cron: gdpr/automation/anonymize

Processes: - Inactive customer accounts - Old order data - Expired consents - Old request logs

Cleanup Job

Schedule: Weekly Cron: gdpr/automation/cleanup

Cleans: - Expired export files - Old log entries - Completed requests - Temporary data

Manual Execution

GDPR > Automation > Run Now

  • Select task type
  • Preview affected records
  • Execute immediately
  • View execution log
  • GdprDataSubject - Data anonymization
  • GdprConsent - Consent cleanup