Here's how to set up a batch file to run a cf template.  The QUERY_STRING
environment variable is optional.  I usually use it to set a RequestTimeout
for long-running templates.  You can also use it to pass other URL
parameters into your template.  The CF_TEMPLATE_PATH environment variable is
required.

set "QUERY_STRING=RequestTimeout=60&company=EDCO"
set CF_TEMPLATE_PATH=d:\web\weather\getcurrent.cfm
c:\cfusion\bin\cfml.exe

Jim



----- Original Message -----
From: "David Effa" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Tuesday, February 13, 2001 3:47 PM
Subject: CF Command-Line Problem


> I am running a CF template under a NT Scheduler with the command line of
> C:\cfusion\bin\cfml.exe e:\foodir\foo\xqe.cfm
>
> When it runs, it logs into the CF webserver log directory many errors of
this
> nature:
>
> "Error","TID=469","01/24/01","01:17:02","Exception occurred while reading
> environment parameters from standard input. "
> "Error","TID=177","01/24/01","01:18:02","Exception occurred while reading
> environment parameters from standard input. "
> "Error","TID=466","01/24/01","01:19:02","Exception occurred while reading
> environment parameters from standard input. "
> "Error","TID=70","01/24/01","01:20:02","Exception occurred while reading
> environment parameters from standard input. "
> "Error","TID=465","01/24/01","01:21:02","Exception occurred while reading
> environment parameters from standard input. "
>
> Does anyone know what environment parameter is it referring to, HTTP or
NT,
> and what could be causing this?
>
>
>
> David J Effa
> Abbott Laboratories              E-Mail:  [EMAIL PROTECTED]
> Dept. A63S Bldg. AP14B      Voice:   +1 847 938 4382
> 100 Abbott Park Road           FAX:     +1 847 938 9180
> Abbott Park, IL 60064 USA


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to