On Wed, 14 Nov 2001, Paul Baughman wrote:

> Sorry, my original question didn't contain complete information.
> 
> First, I had checked with the --settings options and the IMAGEDIR shows up as:
> 
> Image directory is http://titan.centreweb.com/analog/images/
> 
> Second, I was running analog from a perl script, which was run out of 
> cron.  when I ran the perl script manually it worked.  I did it this way 
> because I am doing several things and I wanted only one crontab 
> entry.  When I ran the analog command that was in the perl script directly 
> from cron, it worked.  Anyone know why?
> 
> This solution applies to my other question about the analysis date range 
> also, that is now working correctly.
> 
> I would still like to run this from a perl script, instead of directly, if 
> anyone can come up with a solution or a reason why it doesn't work that 
> way.  I used to do it that way at a previous site and an older version of 
> Analog.
> 

Ah, well maybe it can't find the correct configuration file from cron
because of some path issue? Try checking the --settings when running it from
the cron job.

PS You're not going to put the Perl script up as a CGI are you? That would
be a security hole.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to