[cfaussie] Re: cfthread - can I see if a thread is still running

2009-11-02 Thread m...@ampersand.net.au
Thanks for the ideas - unfortunately I can't use the server monitor because I only have standard CF8 to work with; I like the idea of using the server scope though, I will probably do some trials with that. The only other idea I had was to use some sort of text file or XML on the server to

[cfaussie] Re: cfthread - can I see if a thread is still running

2009-11-01 Thread BarryC
You could just store a value in a persistent scope such as the application scope. When your ZIP thread completes, have it write a value to the application scope (such as a date/time stamp). The FTP thread can just check that value is set, if it is, then it knows the ZIP thread has completed.

[cfaussie] Re: cfthread - can I see if a thread is still running

2009-11-01 Thread Barry Beattie
the server monitor API might help here: http://livedocs.adobe.com/coldfusion/8/htmldocs/threads_6.html#1154144 http://livedocs.adobe.com/coldfusion/8/htmldocs/servermonitor_14.html one last thing: don't forget - you have a SERVER scope available to you to store info. More encompassing than