>- see footer for list info -< Lee, I suggest you do not setup loads of scheduled tasks for this. Instead manage this yourself. Have a single scheduled task that runs in your app, and this task performs all the checks to see what else needs doing. So whenever someone creates a task you simply log it in the database. When the task is performed you then set it's flag to DONE. You can then call your SINGLE scheduled task from as many servers as you like, as they will all be using the same database.
Obviously you will need to stagger the times the task is called so they do not overlap and then start performing all the schedules at the same time. You can also then have database clustering as well if you so wish. Russ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lee Fortnam > Sent: 01 January 2005 19:44 > To: [email protected] > Subject: [CF-Dev] CFSchedule in a clustered APP environment > Importance: High > > >- see footer for list info -< > First, Happy New year to you all, hope it is a prosperous one > for us all. > > Right, I sent in a question about this a while ago but don't > think I explained my self very well. Hopefully this will make > more sense. > > I am developing an application where by users will be able to > request an action to take place at some point in the future. > I am therefore using CFSchedule to create a task that will > run at the requested given time in the future. > > The issue is that the box running CFSchedule can only perform > approx 17K transactions per hour based on initial testing. I > would like to introduce some resilience into the equation by > adding a second box which ultimately may allow us to perform > more actions. > > My question is this, if there are 2 web servers running CFMX > which are acting as my App Servers, how can I set the > CFShedule task on both of them but only have 1 actually > perform the action. If the main box is unavailable, how can I > effectively promote the other box to actually perform the > actions that should have been performed by the 1st box? > > Your help in this is much appreciated, if this doesn't get me > somewhere I will probably just call Russ who will possibly be > hosting the solution anyway. > > Thanks in advance. > > Lee Fortnam > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving > lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- Hosting provided by www.cfmxhosting.co.uk -< > >- Forum provided by www.fusetalk.com -< > >- DHTML Menus provided by www.APYCOM.com -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to > volunteer your help > >-< > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
