Pausing a script

2002-12-06 Thread Luis Lebron
Does CF have an equivalent of the PHP sleep function. I need to pause s script for a few seconds. Luis ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/i

pausing a script

2005-04-12 Thread sp
Is there a way of pausing a script in CF MX 6? I want to send out 200 emails, wait 60 seconds before executing another cfmail batch of 200. I have got the following code after the cfmail tag both of which are nested in an index loop which has a value from 1 to 12. But the

RE: Pausing a script

2002-12-06 Thread Tony Weeg
MAIL PROTECTED]] Sent: Friday, December 06, 2002 12:58 PM To: CF-Talk Subject: Pausing a script Does CF have an equivalent of the PHP sleep function. I need to pause s script for a few seconds. Luis ~| Archives:

Re: Pausing a script

2002-12-06 Thread Randell B Adkins
Are you speaking of a CFSCRIPT for pausing CFScript action or a PAUSE in between processign elements on a CF Page? There is a CF_Sleep or something similar in the Exchange >>> [EMAIL PROTECTED] 12/06/02 12:58PM >>> Does CF have an equivalent of the PHP sleep function. I need to pause s script for

RE: Pausing a script

2002-12-06 Thread Jim Davis
ent: Friday, December 06, 2002 12:58 PM > To: CF-Talk > Subject: Pausing a script > > > Does CF have an equivalent of the PHP sleep function. I need > to pause s script for a few seconds. > > > Luis > >

RE: Pausing a script

2002-12-06 Thread Luis Lebron
I found this code in Ben Forta's book. It seems to do the trick. -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:25 PM To: CF-Talk Subject: RE: Pausing a script There's no function, but you can do this easily by setting

RE: Pausing a script

2002-12-08 Thread Paul Kenney
Luis, This code will pause execution for 10 seconds: Paul Kenney [EMAIL PROTECTED] > -Original Message- > From: Luis Lebron [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 9:58 AM > To: CF-Talk > Subject: Pausing a script > > > Does CF have

RE: Pausing a script

2002-12-08 Thread Matthew P. Smith
That will work, but will also cause 100% cpu utilization for the duration of the pause, IIRC. -Original Message- From: Luis Lebron [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 4:38 PM To: CF-Talk Subject: RE: Pausing a script I found this code in Ben Forta's book. It

Re: pausing a script

2005-04-15 Thread sp
Can this script be used with cfschedule? Sebastian >i use it for a client, and its ROCK solid. > >:) tw > >On 4/13/05, Will Tomlinson <[EMAIL PROTECTED]> wrote: >> Would Matt's Mail trickler be another option? >> >> http://mysecretbase.com/Slowing_Down_CFMail_2004.cfm >> >> Will >> >> ~~

RE: pausing a script

2005-04-12 Thread Taco Fleur
ED] Sent: Wednesday, 13 April 2005 1:04 PM To: CF-Talk Subject: pausing a script Is there a way of pausing a script in CF MX 6? I want to send out 200 emails, wait 60 seconds before executing another cfmail batch of 200. I have got the following code after the cfmail tag both of which are neste

RE: pausing a script

2005-04-12 Thread Jim Davis
> -Original Message- > From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 12, 2005 11:04 PM > To: CF-Talk > Subject: pausing a script > > Is there a way of pausing a script in CF MX 6? > > I want to send out 200 ema

Re: pausing a script

2005-04-12 Thread sp
Thanks, that is elegan! >Thread = createObject( "java", "java.lang.Thread" ); >Thread.sleep( javaCast( "long", 1000*60 )); > > > >-- >Taco Fleur >Senior Web Systems Engineer >http://www.webassociates.com ~| Find out how CFTick

Re: pausing a script

2005-04-13 Thread Will Tomlinson
Would Matt's Mail trickler be another option? http://mysecretbase.com/Slowing_Down_CFMail_2004.cfm Will ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours

Re: pausing a script

2005-04-13 Thread Tony Weeg
i use it for a client, and its ROCK solid. :) tw On 4/13/05, Will Tomlinson <[EMAIL PROTECTED]> wrote: > Would Matt's Mail trickler be another option? > > http://mysecretbase.com/Slowing_Down_CFMail_2004.cfm > > Will > > ~|

Re: pausing a script

2005-04-13 Thread Nathan Strutz
There's no need for the javacast. You can simply do Thread.sleep(1000*60); -nathan strutz Taco Fleur wrote: > > Thread = createObject( "java", "java.lang.Thread" ); > Thread.sleep( javaCast( "long", 1000*60 )); > > > ~| Di