[horde] Maintenance table imp_sentmail
Jan Schneider
jan at horde.org
Tue Aug 11 19:49:58 UTC 2015
Zitat von Jens Wahnes <wahnes at uni-koeln.de>:
> On Tue, Aug 11 2015, at 13:58:04 +0200, grupo correo wrote:
>
>> i would like known "what" component is doing the maintenenace of table
>> imp_sentmail. Now there are rows with timestamp of 6 June.
>
> Cleaning up the imp_sentmail table is part of the login tasks that are
> carried out when an admin user logs into Horde. The period of time
> that old entries should be kept is controlled by the
>
> $conf['sentmail']['params']['threshold']
>
> setting in .../imp/config/conf.php (i.e. it can be changed on the
> Administration / Configuration / Mail (IMP) page on the "Compose Log"
> tab). But, as said before, it only happens when an admin user logs
> in. If no admin user ever logs in, no cleanup will be performed.
>
> So if there is a good way to have that cleanup done in spite of no
> admin user logging into Horde for a longer period of time, I'd be glad
> to hear about it. That scenario (no admin user logging into Horde on a
> regular basis) is common here. So far, we set up a cronjob to delete
> the old entries directly from the imp_sentmail table using SQL queries,
> but of course that's not as good a solution as to have Horde do it the
> right way.
>
>
> Jens
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
There is the horde-run-task command line tool installed with Horde
that is there for this purpose.
--
Jan Schneider
The Horde Project
http://www.horde.org/
More information about the horde
mailing list