Re: Running Command line stuff...

2015-01-01 Thread Bill Moniz
Not sure what version of CF you're using, but have a look at the cfexecute tag. It can do what you need. On 2 January 2015 at 15:15, Les Irvin les.cft...@gmail.com wrote: I've searched and found a dozen ways to run a command line application via ColdFusion, none of which seem to work. Can

Re: Adding n characters to a string

2014-09-24 Thread Bill Moniz
I think you're looking for repeatString(string, count). On 25 September 2014 13:54, Mike K afpwebwo...@gmail.com wrote: I'm having a brain fade - I know I've done this before but for the life of me I can't find where it was.I hope someone can help me out here before i go crazy ... I

Re: Querying a comma separated list

2014-08-26 Thread Bill Moniz
I'm pretty certain you can't do what you're trying to do directly. The comma delimited list you have stored in gtype is just a string as far as the DB engine is concerned and cannot be searched as a list. If you must store it this way, I have achieved the result I think you want, in the past,

Re: too many scheduled tasks in the CF-backend

2013-12-22 Thread Bill Moniz
Yep. With a combination of cfschedule and a Java serviceFactory. You can retrieve a list of all scheduled tasks using the Java object then loop over it to delete based on whatever condition you like. You get back an array of structs where the name of each task is contained in the key Task.

Re: ColdFusion 10 - Web Service Proxy User Domain

2013-03-08 Thread Bill Moniz
Use the other form of the domain username: usern...@domain.com That should work. On 9 March 2013 09:23, Bill Franklin bill.frank...@bayer.com wrote: I am trying to setup a webservice in CF Administrator. I get everything setup but when I try to specify the required domain with the

Re: Hack - Further Information

2013-02-04 Thread Bill Moniz
Great explanation Dave. Good to know. On 5 February 2013 11:21, Dave Watts dwa...@figleaf.com wrote: OK, now that you've done that: CF serves all sorts of pages that don't exist. You may read up in this very thread about CFCHART, which relies on a URL pattern that doesn't exist. CF

Re: Difficulty in creating a dynamic query

2013-01-22 Thread Bill Moniz
Ditto Steve's question. You're trying to use cfqueryparam outside of a cfquery block. Coldfusion is just going to see #sqlStatement# as a block of literal text, so it will pass WHERE firstName LIKE cfqueryparam cfsqltype=cf_sql_varchar value=%bar% / into the DB exactly as written. And SQL

Re: cfimage error

2013-01-15 Thread Bill Moniz
Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January

Re: Where is information used by the Scheduler?

2012-11-26 Thread Bill Moniz
By any chance is your JVM running in a different locale than your system local? I ask because I had a similar issue. My system runs in Australia, but I happened to be in Canada (with my system temporarily set to american standards) when I installed a new version of Java. The install picked up

Re: Where is information used by the Scheduler?

2012-11-26 Thread Bill Moniz
You're very welcome. Glad to help. :) On 27 November 2012 09:24, wrote: I eventually fixed the problem by forcing a locale fro the JVM in the ColdFusion Administrator by adding the following JVM arguments: -Duser.language=en -Duser.country=AU. Hey! How about that! It solved my