Andrew, Well, as AJ said, to spread the work load between instances. And better for those tasks run repeatedly on the same day.
On 15/04/2008, Andrew Scott <[EMAIL PROTECTED]> wrote: > > George, > > > > Let me ask you one question, and this is only to help both of us > understand the situation. > > > > Is the scheduled task that you need to run, server dependant? The reason I > ask, is that I can' think of any reason why you would not use the last > server in your cluster to run the scheduled task. Having said that, if it is > to email, or update the database or something in that nature. > > > > Why would you want to run it on all instances? > > > > Is there a more specific reason that you want to run the same schedule 2 > or more times? > > > > I am yet to work in a cluster, but I am not sure that I would want to do > what you trying to do. But you may have a very good reason for wanting too. > > > > > > Andrew Scott > Senior Coldfusion Developer > Aegeon Pty. Ltd. > www.aegeon.com.au > Phone: +613 9015 8628 > Mobile: 0404 998 273 > > > > > > > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *George Lu > *Sent:* Tuesday, 15 April 2008 9:48 AM > *To:* [email protected] > *Subject:* [cfaussie] Re: Schedule tasks in CF8 Cluster > > > > Thanks, I see. But if you have a task runs daily how can you spread it > into two instances? > > On 14/04/2008, *AJ Mercer* <[EMAIL PROTECTED]> wrote: > > you can. > > We did this so that if instance 1 dies, the task will at least get run 3 > times an hour > > it also spreads the work around - would be more significant for processes > that thumped the server and run more frequently. > > > > On Sat, Apr 12, 2008 at 4:13 PM, George Lu <[EMAIL PROTECTED]> wrote: > > Well, why can't you just run the task in instance 1 only (don't run it in > all other instances) every 15 mins? > > On 11/04/2008, *AJ Mercer* <[EMAIL PROTECTED]> wrote: > > If you schedule them for same time, they will both fire off at the same > time - can your script handle two simultaneous calls? > > We have four instances and a task we want run every 15 minutes > So instance 1 runs at 00 > instance 2 runs at 15 > instance 3 runs at 30 > instance 4 runs at 45 > > Think of each instance as a separate CF server > Even though they may share the same code > they each have their own APPLICATION scope > > > > On Fri, Apr 11, 2008 at 2:32 PM, George Lu <[EMAIL PROTECTED]> wrote: > > I've got two instances (instance1 & 2) in a cluster on a CF8 server. My > question is should I enable schedule tasks in both instances or just one of > instances? > > Regards, > George > > > > -- > > > AJ Mercer > Web Log: http://webonix.net > > > > > > > > > -- > > AJ Mercer > Web Log: http://webonix.net > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
