PDA

View Full Version : cron jobs for webalizer



<-- R O B -->
01-12-2004, 08:45 AM
Hi All

OK I have multiple webalizer instances running: each one looking at a log created from a virtual host. I'm outputting the results to a folder called "stats" in each of the virtualhost web site folders. Thus, clients can view their stats without running webalizer each time.

I want the webalizer instances to get updated via cron (instead of going through each webalizer instance in site manager and manually running webalizer), but for the life of me I can't get it to work or see where I'm going wrong - if some kind soul out there sees this and knows where I'm going wrong I'll be eternally grateful!



ssh into the server
type editcron -e

I want the stats to be automatically updated every day so I enter:


* 1 * * * /www/htdocs/cgi-bin/plpugins/Webalizers/instanceofwebalizer/webalizer.cgi


I figured this would work as its the same cgi script as the site manager calls, but for some reason nothing happens.

Any help REALLY APPRECIATED

Rob C