3217Re: [webalizer] Problem with running webalizer as cron job
- Apr 27, 2005
> I worked around the problem we had with webalizer and put it in the^^^^^^^^^^^^^^^^^^^
> cron job queue. But while it works fine when I run it in from the
> shell line, the cron job execution fails due to:
> Webalizer V2.01-10 (FreeBSD 4.8-STABLE) English
> Using logfile STDIN (clf)
You cannot use STDIN as input when run from cron unless you take
special care to pipe input to it (not recommended).
> Creating output in current directoryHas nothing to do with the history file.
> Hostname for reports is \'uk5.valuehost.co.uk\'
> History file not found...
> No valid records found!
> First I thought it was due the path to the log file since it was
> given as:
> So I changed it to the absolut path:
> so even if webalizer is not called from its directory it should
> work. But still it works if I run it from the shell line, while the
> cron job fails to find the history file.
>You have munged your logfile name, however you are passing it to the
> I tried the server administrator, but the answer from them is just
> What could this depend on?
Bradford L. Barrett brad@...
A free electron in a sea of neutrons DoD#1750 KD4NAW
The only thing Micro$oft has done for society, is make people
believe that computers are inherently unreliable.
- << Previous post in topic Next post in topic >>