Once the lifespans are configured, the cron will automatically deactivate the old records.