There is no way really - unless you upgrade to cf hawaii (5-0h) and use
<cfflush> (or unless you use js to open a remote window that calls the
cfschedule page in the background (i.e. under the main window) - then use a
close window function at the end of the schdule page - while you also use a
reload.opener function on the main page)
J
-----Original Message-----
From: Andrew Howe [mailto:[EMAIL PROTECTED]]
Sent: 11 June 2001 12:43
To: CF-Talk
Subject: CFSCHEDULE in background
I want to get CFSCHEDULE to run in the background (to create a text file),
and load NewPage.cfm while it is still running.
However, in the following code, NewPage does not load until CFSCHEDULE has
finished running.
(I am using CF 4.5.1.)
Any suggestions?
<CFSCHEDULE ACTION="UPDATE"
TASK="TaskName"
OPERATION="HTTPRequest"
URL="http://127.0.0.1/Script.cfm"
STARTDATE="6/6/01"
STARTTIME="10:53 AM"
INTERVAL="Once"
RESOLVEURL="No"
PUBLISH="No"
REQUESTTIMEOUT="600">
<cfschedule action="RUN" task="TaskName">
<cflocation url="NewPage.cfm">
Thanks
Andrew
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists