Not a problem. Good luck.

Josh

On Wed, 2004-10-20 at 11:19, Edward Chanter wrote:
> That's perfect Josh, very useful. Thank you very much for your help! 
> 
> > -----Original Message-----
> > From: Josh Freeman [mailto:[EMAIL PROTECTED] 
> > Sent: 20 October 2004 16:15
> > To: CF-Linux
> > Subject: RE: verity - duplicate results
> > 
> > What version of ColdFusion are you using? I never made the 
> > switch to ColdFusion MX, so I am sure someone out there can 
> > correct for that version, but on Coldfusion 5, the easiest 
> > way to do it was to make a script that contained the following lines.
> > 
> > --------------------
> > #!/bin/bash
> > export PATH_TRANSLATED=/Path/To/File
> > export QUERY_STRING=queryParams
> > # such as export QUERY_STRING=RequestTimeout=3600 to change 
> > the timeout $COLDFUSION_HOME/webserver/cgi/cfml
> > -------------------
> > 
> > save that as a file (call it index.sh) and then type chmod +x index.sh
> > 
> > Now test it by typing
> > 
> > ./index.sh 
> > 
> > If it works, you can force it to run by editing crontab 
> >   
> > crontab -e
> > 
> > you can add the following line to make it run at midnight.
> > 
> > 0 0 * * * /path/to/index.sh
> > 
> > 
> > man crontab will give you  more information on other ways you 
> > can get crontab to execute the script.
> > 
> > Hope this helps.
> > 
> > Josh
> > 
> > 
> > On Wed, 2004-10-20 at 11:06, Edward Chanter wrote:
> > > Hi Josh,
> > > 
> > > Thanks for the response, that sounds like it would be really useful 
> > > but I'm a bit of a newbie to linux generally so is there anywhere I 
> > > can go to get some more info about how to setup what you're 
> > suggesting?
> > > 
> > > Thanks again,
> > > 
> > >   -= Ed
> > > 
> > > > -----Original Message-----
> > > > From: Josh Freeman [mailto:[EMAIL PROTECTED]
> > > > Sent: 20 October 2004 16:02
> > > > To: CF-Linux
> > > > Subject: Re: verity - duplicate results
> > > > 
> > > > I always had trouble with the scheduler, and I ended up 
> > running the 
> > > > CGI version of cfm via crontab to force it to run nightly 
> > processes. 
> > > > A hack, but one that works.
> > > > 
> > > > Josh
> > > > 
> > > > On Wed, 2004-10-20 at 10:57, Edward Chanter wrote:
> > > > > Here's a bit of a weird one; we run a script to update a
> > > > verity index
> > > > > every night. The script seems to run fine but occasionally when 
> > > > > one searches the index it contains duplicate results. I've
> > > > added code to
> > > > > purge the index before updating it and that works 
> > whenever I run 
> > > > > it manually but when the scheduler runs it it seems to 
> > only purge 
> > > > > the index 60% of the time and I'm still getting 
> > duplicate results. 
> > > > > Have other people seen this and is it a bug in verity....? It
> > > > doesn't seem
> > > > > to happen in MX on windows so I'm wondering if this is a
> > > > problem with verity and linux....?
> > > > >  
> > > > > Any help greatly appreciated :-)
> > > > > 
> > > > > best wishes,
> > > > > 
> > > > >             -= Ed
> > > > > 
> > > > > 
> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > Edward Chanter
> > > > > Technical Innovations Manager
> > > > > Collaborative Connections Ltd.
> > > > > 
> > > > >  <http://www.cc.uk.com/> http://www.cc.uk.com/
> > > > > +44 (0) 1273 832221
> > > > > 
> > > > 
> > > > 
> > > 
> > > 
> > 
> > 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=34

Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3696
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to