Good idea. Just tried it. Didn't work. Same error. Tried changing the config name and same error. I must be missing something. CDitty At 06:44 PM 1/2/2002, you wrote: >At 04:23 PM 1/2/2002, CDitty wrote: > >>Now to the problem...... >>I have installed and configured awstats for my server. Everything is >>running fine with the exception that I cannot get awstats to update via >>cron. This is what I have in my crontab - /home/httpd/cgi-bin/awstats.pl >>-config=myconfig -update >> >>This is the error that I get - Error: Couldn't open config file >>"awstats.188.8.131.52.conf" nor "awstats.conf" : No such file or directory >> >>Awstats will update if I run the update command from the cgi-bin >>directory via telnet. > >Maybe you should setup a shell program that changes to the proper >directory then executes the target program for you. > >e.g. in cron > >/home/httpd/bin/awstats_update > >then in awstats_update > >cd /home/httpd/cgi-bin/ >./awstats.pl <blah blah blah> > > >---- >Anthony Baratta >President >Keyboard Jockeys > >"Conformity is the refuge of the unimaginative." > > >-- >For unsubscribe and other options, including >the Tip Harvester and archive of TheList go to: >http://lists.evolt.org Workers of the Web, evolt !