The Scheduler system extension adds task Recycler > Remove deleted records to permanently delete old records from selected tables:
Create a new task with the following settings:
- Delete entries older than (in days)
Enter the number of days after which records should be deleted permanently.
Select the tables where deletion is to be applied after the specified number of days.
One can define multiple tasks, for example, to remove deleted backend users and user groups after 30 days from the database, but pages and page contents only after 90 days.