Feature: #32651 - Add scheduler task to remove deleted records

See forge#32651

Description

A new scheduler task for removing deleted records has been added. The maximum age and the affected tables are configurable in the task's settings.