[Pkg-awstats-devel] Bug#224506: cronjob: locking,
conf/logfile checking
Arne Rusek
zonk at matfyz.cz
Mon Feb 5 15:04:54 CET 2007
Package: awstats
Version: 6.5+dfsg-1
Followup-For: Bug #224506
Dear all.
I wrote myself a awstats cron wrapper which should solve at least three
bugreports on awstats :-)
It does:
* locking: no more than one instance -- one configuration -- will run
* config checking: check required config file (and included confs)
* check that required logfile is available
* should work out of the box when run from /etc/cron.d/awstats
* it also makes awstats more nice :-)
If it's of any use, please include it into the awstats package and run
from cron. Questions, comments, suggestions and complains are welcomed
as always.
All the best,
Arne
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-maxipes-fik
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: awstats
Type: application/x-shellscript
Size: 2205 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-awstats-devel/attachments/20070205/68f511f8/awstats.bin
More information about the Pkg-awstats-devel
mailing list