Can you have the scheduled job delete itself? On 3/13/07, Peterson, Chris <[EMAIL PROTECTED]> wrote: > I have a mass emailer application in CF that schedules sendouts using > the CF scheduler and the Admin Api to add scheduled tasks. This > application is running on a round-robin cluster between 2 instances, > which is paired with an identical server behind a cisco content switch > for load balancing and fault tolerance. > > My question is this: The mass emailer adds a scheduled task to > whichever instance the request happens to get directed too, on whichever > server is least busy at the time. This application also has code to > remove a scheduled task. Now, that removal task is never guaranteed to > hit the same server / instance that the task was scheduled on, so most > often it fails to remove the task. > > Should I: > a) change this particular site to use one single instance of CF and > have the load balancer direct all traffic to a single server > b) write some kind of code to have it check each instance when deleting > to verify it finds and deletes the correct scheduled job > c) do something I don't know about? =) -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

