Brett, I did something similar in which I created a scheduled task with a UUID as it's name, and in a URL param passed in the UUID the scheduled task was created under .
The cf page would then deleted the URL named scheduled task and then and then run (off other given URL params). Worked a treat. There was meant to be a way with CFHTTP, but I could never get it to work. HTH Mark On Fri, 7 Jan 2005 12:09:13 +1000, Jason Sheedy <[EMAIL PROTECTED]> wrote: > Hi Brett, > not sure this is the best solution, but I would probably create some kind of > queue (database or text file) and have a scheduled task process the queue on > a regular interval. In cfmx7(Blackstone) you could probably create an event > gateway to handle the queue processing rather than a scheduled task. > > Jason Sheedy > www.voice.com.au > > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of Brett Payne-Rhodes > Sent: Fri 1/7/2005 11:15 AM > To: CFAussie Mailing List > Subject: [cfaussie] Delayed execution > > Happy New Year to you all! > > Does anyone have a simple mechanism for queueing/delaying tasks for > later execution? > > The scenario is that the user will request a task to be executed but > that task will be long running and I want it to happen seperately to the > users session. If I have to I can probably create and delete one-off > tasks in the CF task scheduler (anyone have a code snippet for that?) > but I was hoping there was a simpler way... > > Many thanks, > > Brett > B) > > PS. Blackstone? Never heard of it... > > -- > Brett Payne-Rhodes > Eaglehawk Computing > t: +61 (0)8 9371-0471 > f: +61 (0)8 9371-0470 > m: +61 (0)414 371 047 > e: [EMAIL PROTECTED] > w: www.ehc.net.au > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > -- E: [EMAIL PROTECTED] W: www.compoundtheory.com ICQ: 3094740 --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
