process_deleted_accounts.php
Cron script to process accounts whose 30-day grace period has expired.
All expired accounts are anonymized: personally identifiable information (email, first name, last name, password, verification token) is replaced with non-identifying placeholder values. The record itself is kept to preserve statistical integrity and referential consistency.
Suggested crontab entry (runs every night at midnight): 0 0 * * * php /path/to/app/cron/process_deleted_accounts.php >> /var/log/bdelive_cleanup.log 2>&1