[Baruwa] dbclean change delete date
j.hendriks at schavemaker.com
Tue May 15 20:58:38 SAST 2012
Andrew Colin Kissa schreef:
> On 14 May 2012, at 11:09 AM, Johan Hendriks wrote:
>> I have a running system with the klatest baruwa that works fine, the
>> only thing is that the weggui is dead slow.
>> It take about 60 to 90 seconds to get things displayed when switching
>> pages, sometimes even more.
>> Now my guess is that this has to do with my database size, i forgot to
>> add the dbclean in the crontab and i got a huge database now.
>> How can i set dbclean to delete mail older than xx months instead of the
>> default, the default will make my server not responding for too long.
>> Am i right that the default is 90 days?
>> I want to delete a month at a time to give the server some slack.
> The command does not take options, look at the SQL here and
> run the commands yourself
>  https://github.com/akissa/baruwa/blob/master/src/baruwa/mail/messages/management/commands/dbclean.py
> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
Thank you for your quick responce, and sorry for my late reply.
Was a very busy day at work, a tip do not trust your anti virus
software, they all suck :D
can i just change 60 to a higher number and then lower the number every
day to get back to 60 again.
More information about the Baruwa