Page 1 of 1

How to delete domlogs?

Posted: Thu Mar 26, 2015 3:34 pm
by salehammara
Hi
I found that domlog size on my server getting bigger and bigger.
I want to delte or don't create the domlogs. :x

Re: How to delete domlogs?

Posted: Wed Apr 01, 2015 2:26 pm
by michaelsmith2345
Hello ,this solution may be help you ,try this one

Add at the end of the crontab file:

02 4 * * * root rm -rf /home/apache/domlogs/*

/etc/init.d/crond restart



This should delete your logs daily.

Re: How to delete domlogs?

Posted: Thu Apr 02, 2015 9:30 am
by davisbrian806
i want know is this solution delete only domlogs file or any others logs also,
please confirmed it for me because i don't want delete any other file.