Description of your first forum.
-
salehammara
- Posts: 4
- Joined: Wed Jan 21, 2015 4:29 pm
Post
by salehammara » Thu Mar 26, 2015 3:34 pm
Hi
I found that domlog size on my server getting bigger and bigger.
I want to delte or don't create the domlogs.

-
michaelsmith2345
- Posts: 4
- Joined: Thu Jan 22, 2015 4:38 pm
Post
by michaelsmith2345 » Wed Apr 01, 2015 2:26 pm
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.
-
davisbrian806
- Posts: 6
- Joined: Thu Jan 22, 2015 4:28 pm
Post
by davisbrian806 » Thu Apr 02, 2015 9:30 am
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.