[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cron job for webalizer



I think that the easiest way is to include the full path to webalizer
command into cron job, i.e. to call webalizer from the cron job
using the command '/<path_to_webalizer/webalizer', not just 'webalizer'.
You can determine the full path to webalizer by using the command `which
webalizer`
if webalizer is in your shell's PATH (it should be there, because you
are able
to run it manually).

Alexey Fadyushin
Brainbench MVP for Linux.
http://www.brainbench.com


Richard Wigfall wrote:
> 
> I hasve setup a weekly cron job to run webalizer on a RH6.2 server, the
> webalizer command is executed by cron, however the command is not
> successful.  The error reports that the command canot be found even
> though I have even placed  webalizer in the cron.weekly directory, and
> included it in the path.  I am able to run webalizer manually.  Can
> anyone tell me how to make webalizer run automatically?
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]