How to delete old statistic software data globally?

postcd

Well-Known Member
Oct 22, 2010
721
20
68
Hello,

some accounts had enabled like webalizer, awstats and similar, but no longer and when i open these stat software from some cpanel accounts i see it no longer counting (which is good), but how i can remove old data of these softwares in bulk on all cpanel accounts. Only data of accounts that have these statistic softwares disabled and no longer use them, so these data dont take unnecessary space..? Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,225
463
Hello :)

You will have to manually remove the data from the /tmp directory within the account (/home/$username/tmp). Each statistics application uses a different storage method, so there are no single files you can remove. You could develop a bash command that completes this for all accounts, but there are no scripts that remove this data automatically.

Thank you.