evil_smurf
Verified User
- Joined
- Mar 3, 2006
- Messages
- 112
I have set the cron job that makes directadmin tally disk and bw usage to run every hour instead of every 24 hours.
@hourly echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
the reason being is because I find that waiting 24 hours to tally up disk and bw usage for accounts seems to be a little on the long-wait side.
Anyway, as such I have an unliked side effect. The apache logs for the domains are cleared every hour as well.
Is there a way to make the apache logs clear every 24 hours instead of every hour yet still get the correct bw and disk usage tally's every hour, or, have the logs log to the current domain.log files, as well as log to the global access_log (preferred)?
@hourly echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
the reason being is because I find that waiting 24 hours to tally up disk and bw usage for accounts seems to be a little on the long-wait side.
Anyway, as such I have an unliked side effect. The apache logs for the domains are cleared every hour as well.
Is there a way to make the apache logs clear every 24 hours instead of every hour yet still get the correct bw and disk usage tally's every hour, or, have the logs log to the current domain.log files, as well as log to the global access_log (preferred)?