<cfset thread = CreateObject("java", "java.lang.Thread")>

<cfset thread.sleep(5000)>
This sleeps for 5 seconds

On 1/16/07, Richard Colman <[EMAIL PROTECTED]> wrote:
>
> I need to start a script on a remote server, wait for the results file
> to appear, and get the contents.  I often need to wait about 15-30
> seconds from the start to finish.
>
> Is there any easy way to have a cold fusion page "wait" for the remote
> action to appear. Is there the equivalent of a SLEEP command in CF that
> might provide the delays that I need?
>
> Rick Colman
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266638
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to