Wouldn't you run the risk of having a "long running request" that the server would terminate?
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Thursday, 6 December 2007 12:13 PM To: [email protected] Subject: [cfaussie] Re: scheduled task minimum interval It's the exact same result. If you wanted to run every 10 seconds Do a conditional loop while timeElapsed < 60 seconds. Then within that do a sleep(10000 - offsetOfTimePassed) With that you would get a fairly accurate 10 second instance. Regards Dale Fraser http://learncf.com -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of skateboard.com.au Sent: Thursday, 6 December 2007 11:44 AM To: [email protected] Subject: [cfaussie] Re: scheduled task minimum interval thanks Dale I guess I could loop over the code with a bit of a sleep in there. I was hoping I could just mod an xml config file or something to get cf to do all the work for me. cheers Drew -----Original Message----- From: "Dale Fraser" <[EMAIL PROTECTED]> To: <[email protected]> Date: Thu, 6 Dec 2007 11:38:53 +1100 Subject: [cfaussie] Re: scheduled task minimum interval > > There are a couple. > > Have your task run multiple times within it's self > > Ie > > Record what time it was run > > <cfset startTime = now() /> > > Then within code, you can do evaluate if this is with 60 seconds of the > startTime keep doing stuff, make sense? > > Regards > Dale Fraser > > http://learncf.com > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf > Of skateboard.com.au > Sent: Thursday, 6 December 2007 11:26 AM > To: [email protected] > Subject: [cfaussie] scheduled task minimum interval > > > Is there a quick sneaky way I can get under the 60 second minimum or > will I have to set up a cron job. > > thanks > > Drew Peacock. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
