your problem is in absolute paths.  try
/home/domain/logs/analog -G +g/home/domain/logs/stats.cfg
or wherever the stats.cfg file lives.

you can also write a script:
#!/bin/sh
cd /home/domain/logs
./analog -G +gstats.cfg

and call the script (with absolute paths, of course) from the cron


  alex


Ray Goniea wrote:
> 
> Hello,
> 
> We have just installed Analog on a Linux 5.1, Apache web server running
> virtual domains. I am trying to setup a crontab file that will run all the
> individual stats.cfg files at one time. Here is the problem I am having, to
> run Analog for each domain I need to physically be in the logs directory and
> then execute analog -G +gstats.cfg for it to run. If I type
> /home/domain/logs/analog -G +gstats.cfg it says no such file or directory
> (at a command line) My crontab file looks like this,
> 0 0 * * * /home/domain/logs/analog -G +gstats.cfg and when I run it the
> index.html page is not updated. So my question is using cron how do enter
> the directory then execute the stats.cfg file?
> 
> Thanks,
> Ray
> 
> --------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
> --------------------------------------------------------------------

-- 
GeoCities Operations
_____________________________________
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Reply via email to