Cf prob runs it in the wrong context, it may be looking for the ini file
in the wrong place.
Have you specified the location from where the bat file runs ?

Have u looked at some of the other free stats programs which may be
easier to deal with.
Awstats creates a config file for each site which you could manipulate
via CF.

Russ Michaels
CFDeveloper.co.uk
ColdFusion Developer Community

To join the developers discussion list send an e-mail to:
[EMAIL PROTECTED]


-----Original Message-----
From: Giles Roadnight [mailto:[EMAIL PROTECTED] 
Sent: 24 November 2003 17:34
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] SOT: analog / cfexecute


It's really weird - I just tried setting up a bat file that cfexecute
runs but I get exactly the same problem - when I run the batch file on
the server it runs fine straight away.

Look like I'll have to just schedule batch files to run each month.

Thanks for the help anyway.

Giles Roadnight
http://giles.roadnight.name


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 24 November 2003 11:34
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] SOT: analog / cfexecute


could you setup a .bat file with all the commands, and call that via
cfexecute?


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from: http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


 

                    "Giles

                    Roadnight"           To:
<[EMAIL PROTECTED]>                                     
                    <[EMAIL PROTECTED]        cc:

                    ght.name>            Subject:     [ cf-dev ] SOT:
analog / cfexecute                           
 

                    24/11/2003

                    11:20

                    Please

                    respond to

                    dev

 

 




I am trying to set up a CF page that runs analog and report magic each
month.

I use this code:

<cfexecute name="c:\progra~1\analog\analog.exe"
arguments="c:\progra~1\analog\analog
#listGetAt("#currentSiteSettings#",1)#
+g#listGetAt("#currentSiteSettings#",2)#
+O#listGetAt("#currentSiteSettings#",3)#analogOutput.dat -A +Q +m +d +h 
+w +r +s +N +n +B +b +p" timeout="1000"></cfexecute>

and nothing happens. The server just stops there. I have tried it with
none of the arguments and the same thing happens. If I try it with
report magic I get an error message from report magic saying it can't
find the ini file (to be expected) but I can't get any output from
analog.

If I look at the processes running analog is there.

Is there a better way of doing this than cfexecute? Is there a reason
why this doesn't work?

Thanks

Giles Roadnight
http://giles.roadnight.name


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] For
human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to