Thanks Andrew, I will look into whether TT's process() is finding 'process_response.tt2' as that is the only external file involved.
As for STDERR I am in fact receiving error messages from this cron job when there have been errors to report. Thank you for the advice! David > -----Original Message----- > From: Andrew Sweger [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 29, 2008 3:01 PM > To: [EMAIL PROTECTED] > Cc: [email protected] > Subject: Re: [Templates] problems with %ENV when using TT from cron? > > On Tue, 29 Jan 2008, David Martin wrote: > > > I have captured the contents of %ENV from both environments and pasted > below > > my sig. Anyone see what may be causing issues? Any advice as to how to > > fix? > > Hard to say. If the script is depending on any external files or > executables, this could point to a difference. The PATH is different in > both. Any external executable that is not fully qualified by it's pathname > will depend on the PATH. If external files are opened, it might depend on > the current working directory. But you'll have to examine the program to > see what it's doing. > > Make sure cron is setup to email the output of your program to you. It's > probably emitting errors on STDERR that will point to the problem. > > -- > Andrew B. Sweger -- The great thing about multitasking is that several > things can go wrong at once. _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
