hi @maxlieb901 The historcy clean up options are run daily (at Lansweeper service start, and then every 24 hours). You could automate the Truncate/Shrink/Compact and rebuild indexes part by running a corn job or a scheduled task on your SQL Server, or with a script to be run when executing the script, but that falls outside of Lansweeper support.
~~~~~~~ (〃 ̄︶ ̄)人( ̄︶ ̄〃) ~~~~~~~
Sweep that LAN, sweep it!