[Pkg-awstats-devel] Bug#590074: Bug#590074: awstats: DO NOT use cron scripts to update stats database
Ximin Luo
infinity0 at gmx.com
Fri Jul 23 13:57:43 UTC 2010
On 23/07/10 14:31, Jonas Smedegaard wrote:
> I suggest to a) split the current cron job into infrequent and frequent
> jobs, b) make the frequent one optional (ideally through debconf), and
> c) invoke the infrequent job also (or instead?) as a logrotate hook.
>
>
> How does that sound?
Yeah, that works. Though looking at the current script, there's not really much
need to split it up.
The main problem is to do the logrotate hook itself - ideally you'd add it
directly to the webserver entry rather than a new awstats entry. Is that going
to be a pain - editing another package's configuration files? I dunno what
infrastructure / policy Debian has for this sort of thing.
More information about the Pkg-awstats-devel
mailing list