RE: Realtime Background Task

2001-05-07 Thread Raymond B.

You could also cfexecute a batch file (w/ 0 timeout) to generate the output.
This is done by calling the shell CF interpretter... cfml.exe on NT? (*nix
person myself). There's no user wait w/ a 0 timeout but the process will run
until completion.

Or if you could wait 15min you could use cfschedule to create a run once
task.

-Original Message-
From: Calvin Moree [mailto:[EMAIL PROTECTED]]
Sent: May 7, 2001 15:41
To: CF-Talk
Subject: Realtime Background Task


We are currently using CF 4.5.1 on NT.  I have an application where a user
inputs data into a form and submits the form to another page that enters the
data into the database.  What I want to do is at the same time as the data
to going into the database, I also want the data to be sent to a totally
separate page in the background.  If I use CFHTTP the user can’t continue
until the CFHTTP is complete.  I don’t want the user to wait because they
don’t need a response from the background page.  I just want to send the
data and not retrieve anything back.  Is there a tag or code I can use to
perform this function?

TIA

Calvin

P.S.  The background page is performing several queries.  The query results
are then used to create a text file.  We don't want the user to have to wait
for the text file to be created.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Realtime Background Task

2001-05-07 Thread Jon Hall

This makes me wonder if Neo will allow us to use Java's inherent threading
capabilities easily.
I would just love the ability to cfspawn process.cfm or process.class...
and have this process have access to all of the CF properties, variables,
and whatnot.

jon

- Original Message -
From: Raymond B. [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, May 07, 2001 7:16 PM
Subject: RE: Realtime Background Task


 You could also cfexecute a batch file (w/ 0 timeout) to generate the
output.
 This is done by calling the shell CF interpretter... cfml.exe on NT? (*nix
 person myself). There's no user wait w/ a 0 timeout but the process will
run
 until completion.

 Or if you could wait 15min you could use cfschedule to create a run once
 task.

 -Original Message-
 From: Calvin Moree [mailto:[EMAIL PROTECTED]]
 Sent: May 7, 2001 15:41
 To: CF-Talk
 Subject: Realtime Background Task


 We are currently using CF 4.5.1 on NT.  I have an application where a user
 inputs data into a form and submits the form to another page that enters
the
 data into the database.  What I want to do is at the same time as the data
 to going into the database, I also want the data to be sent to a totally
 separate page in the background.  If I use CFHTTP the user can't continue
 until the CFHTTP is complete.  I don't want the user to wait because they
 don't need a response from the background page.  I just want to send the
 data and not retrieve anything back.  Is there a tag or code I can use to
 perform this function?

 TIA

 Calvin

 P.S.  The background page is performing several queries.  The query
results
 are then used to create a text file.  We don't want the user to have to
wait
 for the text file to be created.

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Realtime Background Task

2001-05-07 Thread Calvin Moree

We identified the following solution: we setup an expired schedule task in
the coldfusion administrator, then on the page that inserts the data into
the database we used the cfschedule tag cfschedule ACTION=Run
TASK=TaskName. When using the ACTION=Run the task will kick off
immediately and only when new data is entered into the database. The task
calls a page in the background that takes care of the background need.

Thanks for the suggestions,

Calvin



-Original Message-
From: Calvin Moree [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 3:41 PM
To: CF-Talk
Subject: Realtime Background Task


We are currently using CF 4.5.1 on NT.  I have an application where a user
inputs data into a form and submits the form to another page that enters the
data into the database.  What I want to do is at the same time as the data
to going into the database, I also want the data to be sent to a totally
separate page in the background.  If I use CFHTTP the user can’t continue
until the CFHTTP is complete.  I don’t want the user to wait because they
don’t need a response from the background page.  I just want to send the
data and not retrieve anything back.  Is there a tag or code I can use to
perform this function?

TIA

Calvin

P.S.  The background page is performing several queries.  The query results
are then used to create a text file.  We don't want the user to have to wait
for the text file to be created.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Realtime Background Task

2001-05-07 Thread Al Musella, DPM

Another possibility, assuming you are using sql server, is set up a trigger 
on the database that creates the text file that you need,



P.S.  The background page is performing several queries.  The query results
are then used to create a text file.  We don't want the user to have to wait
for the text file to be created.

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists