>That would be a nifty trick to keep batches from overlapping... got any more
>details on that?

I created two templates to get things started.
cfmailer_setup.cfm
mailer.cfm

cfmailer.cfm - basically sets the batches up. 
To keep the batches from overlapping...what I did was set a server variable 
which consisted of an array with blank strings. Something like <cfset 
server.arr_jbe_taskrun = arraynew(1)>... then it would set the batches up as 
scheduled tasks... These tasks would then call the mailer.cfm page, passing in 
appropriate url variables.

mailer.cfm - would check to see if any array spaces were open / blank and if so 
would write its scheduled task id into that free space and then continue on to 
process the batch. Obviously then if there are no free spaces then a call needs 
to be made to cfmailer_setup.cfm to reschedule the remaining batches.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251917
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