cfschedule task runs serially

2009-10-05 Thread Vamsi Pappu

Hi,

I have a situation here, 

I have a cfloop which does some tasks like sending emails, this task is 
scheduled via coldfusion administrator every two minutes, but it seems like the 
task is waiting for prior task to complete, is this a normal situation.

Even when I run manually a file in firefox browser one task is waiting for its 
prior taks to complete ( this file contains a loop with mail sending tasks)

Does anyone has an idea on this?

Thanks,
Vamsi 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326888
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfschedule task runs serially

2009-10-05 Thread Kevin Pepperman

I saw an issue like this once.

If I recall correct, it does have to wait for 1 process to finish to begin
the next, and our solution was to wrap each iteration with cfthread so it
spawned separate processed for each iteration.

 cfthread action=run name=myThread

/K


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326889
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4