Thanks, Mike and Mary Jo...

Questions:

I'm not able to think of how to code a task to "call"
another... nothing's coming to mind.  How would I accomplish that?

Also, the logic to insure a previous task completed... such as
a variable that is set to "true" or something like that?

And, Mary Jo, concerning rollback...would cftransaction be appropriate?
The  processes aren't dependent upon one another, they are just long-running
and rather processor intensive so I don't want any concurrent tasks running.

If I were to put all tasks into one long file and put them into a single
named thread, would that be a good approach?  Problems with that?

Thanks for the suggestions!

Rick

> -----Original Message-----
> From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 24, 2008 10:05 PM
> To: CF-Talk
> Subject: Re: Best way to cause scheduled tasks to run consecutively?
> 
> >[A]  make one task,  that in turn calls all the others, one after the
> >other.  Perhaps with some logic in each to ensure the previous task
> >completed successfully, if that's appropriate.
> 
> I would go with A as well. Be sure to also consider what needs to happen if 
> for any reason
something
> happens to halt processing in the middle, like a server reboot, and whether 
> you need some kind of
> rollback or running counter for which tasks have been completed in the event 
> of something like
that
> happening.
> 
> MJS
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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

Reply via email to