From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel =?iso-8859-1?Q?Gonz=E1lez=20Casta=F1os?= Subject: problem with cron job of Webalizer Date: Tue, 10 Jun 2003 14:05:21 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3EE5C981.A04C083F@tid.es> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Dear all, I have a RH linux box with Apache 1.3.27 with 4 virtual hosts. I have installed Webalizer and have different access log files in Apache. I have a script for executing webalizer for the different virtual hosts. That script works in the command prompt. I have been testing if it was dued to the environment variables, that werent loaded, but I put on the script a ". /root/.bash_profile " instruction to avoid that. I got a mail when the job is supposed to be done by cron. In the access log files of apache, I use rotate logs. The rotate logs of apache is done daily and before the webalizer cron job is donde. What I have seen so far, its that sometimes it works and sometimes it doesnt. Sometimes the system doesnt log all the accesses in all virtual hosts (some do work and others dont) and normally if the webalizer scripts updates fine the stats html files then apache stops logging the access files and the other way round... Anyone could give any ideas of how I could trace the behaviour of the system? Many thanks Miguel