Vohra, Sandeep Singh wrote: > Archie - > > - For Automation or check scripts - CF Scheduler configured through CF > Administrator could be leveraged. > I believe in the shared environment I do not have access to CF Administrator. I was thinking of having a page that: sleeps for 10 minutes wakes up and checks a table to see if it should continue if ok, then does its bit and goes back to sleep if not, it stops (that is how I would stop it) I am wondering if this would in fact work and what other solutions would be better. > - For FTP and processing based on Folder/file Size - CFFTP and > CFDIRECTORY/CFFILE could be a help. > > Example Usage: CFDIRECTORY > <cfdirectory > directory="#GetDirectoryFromPath(GetTemplatePath())#" > name="myDirectory" > sort="name ASC, size DESC"> > Thanks for that Sandy. > - Response Time Issues or threads hanging could be a problem but it > depends how much data(folder/files) does the code has to scan or look in > database before it does anything and what is the frequency ( 5 mins. - > Can this be increased to say 30 mins??) in which you would like to > execute this job.. > I would have the database scans based on an index and should be very quick. Threads hanging. Good point. How do I make sure that the task has not stopped running. Hmmmm > > Thanks. > > -Sandy Vohra > Thanks for your thoughts, Sandy. Archie Campbell > -----Original Message----- > From: Archie Campbell [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 03, 2006 12:32 PM > To: CF-Newbie > Subject: Automatic processing in a shared system environment > > I am building a site that accepts data in from ftp sites and email > accounts. > Also, when data gets to a certain status level, it sends data out to an > ftp site or attached to emails. > > I am building a .cfm page that: > 1. Checks certain folders for new arrivals > 2. Checks email accounts for new arrivals > 3. Checks the database for items with status of "Ok to send" set to Y > When it finds something to do, it does it. > > We plan to run this page manually until we are happy with it. > At which point we would like to have it have it run AUTOMATICALLY. > Maybe it wakes up every 5 minutes and looks for something to do. > > I want to do it in a manner that does NOT cause response time problems > for others on the shared server. > > Any thoughts as to how I could best do this? > > Thanks > Archie Campbell > > > > > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2292 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
