Hi Barry, I haven't tested that methodology, but I suspect on past experience that it won't quite work that way. We've had several problems with service restarts causing scheduled tasks to be missed or 'forgotten'. I'd suggest a high frequency scheduled task that looks for a boolean application variable, if the variable is 0, invoke the CFC's and set the variable to 1. If the variable is 1, take no action.
Cheers Sean On 6/27/05, Barry Beattie <[EMAIL PROTECTED]> wrote: > thanx anyway Matt > > I'm trying to get some go by defining a sched task to a date in the past (and > then when the server restarts, it'll think it hasn't completed it and then > run it) > > that and "Save class files" should do it (I hope) > > cheers > barry.b > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Matthew > > Walker > > Sent: Monday, 27 June 2005 2:19 PM > > To: CFAussie Mailing List > > Subject: [cfaussie] RE: "bootstrapping" or "onServerStart" > > > > > > For a non-technical Windows option, how about putting a > > shortcut to the app > > URL in the desktop startup folder and using onApplicationStart? > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Barry > > Beattie > > Sent: Thursday, 2 June 2005 7:49 p.m. > > To: CFAussie Mailing List > > Subject: [cfaussie] "bootstrapping" or "onServerStart" > > > > > > hi all > > > > we have some large singleton cfc's in server memory. the > > first user that > > hits the app after a cold start-up or a restart usually cops these > > singletons being wound up. > > > > any suggestions on how to get an "onServerStart" type of > > event to trigger > > the wind up? Unfortunatly, onApplicationStart in > > Application.cfc is still > > tied to the request so the first page hit still does all the > > hard work. > > > > (this will be for cf7 standard so gateways aren't available...) > > > > thanx > > barry.b > > > > > > > > --- > > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > --- > > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > -- Cheers Sean Bucklar [EMAIL PROTECTED] --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
