You can perform an automated database cleanup using one or more of the cleanup options listed in the Lansweeper web console under Configuration/Scanning Setup/Server Options.
Note that cleanup actions are performed when the Lansweeper service is started and subsequently every 24 hours. If you make any changes to your cleanup options and you wish to apply them immediately, restart the Lansweeper service.