How to automtically delete inactive site on WP multisite

Hi,

I'm running a multisite install and i have more that 3000 created site but only hundreds are used.

So i need to know how to identify and auto delete inactive site on my network.

@Aristath

Cheers