Thanks for all the posts people Stephen - I am pretty sure I tried it with the full program files name but will try again - as for the space nope it shouldn't be there.
Duncan - I know you can get batch files to generate stats for last month for example - I am trying to do it with CF so that it can do things like check if the stats were run last month and fill in any gaps. Also as I have several sites that have no stats generated for the last year or so the CF page will generate all this the first time it runs. I did think about just doing it as a batch file but thought it would be easier to manage and more customizable in CF. I didn't know about the form based bit though - didn't see anything about that in the docs. Do you have a link? If I can't get it to run from CF then I'll just schedule it as a batch file. Does anyone know if you can pass arguments to a batch file? Thanks Giles Roadnight http://giles.roadnight.name -----Original Message----- From: Mark Smyth [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 12:12 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] SOT: analog / cfexecute if its nt use the at command ("at help" will give you the command lists) if 2000+ use the scheduled tasks found in control panel (basically the at command functionality via a gui) hth mark -----Original Message----- From: Paul Johnston [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 11:47 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] SOT: analog / cfexecute My suggestion would be to run it outside of CF! There is a windows thing that will run tasks at a certain time (can't remember the name, although "at" springs to mind for some reason). Use that as it's already there and CF won't be the problem then. Paul > -----Original Message----- > From: Giles Roadnight [mailto:[EMAIL PROTECTED] > Sent: 24 November 2003 11:21 > To: [EMAIL PROTECTED] > Subject: [ cf-dev ] SOT: analog / cfexecute > > > 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]
