[ic] Importing products.txt

Peter peter at pajamian.dhs.org
Sat Jul 21 08:27:05 EDT 2007


On 07/21/2007 05:00 AM, Frank Reitzenstein wrote:
> Hello,
> 
> Since I started using Interchange we have rarely used the user interface
> much. I have written a menu for my clients which creates files like
> products.txt and then ftps to the products directory.
> 
> I suggested to one client that we should do away with products.txt
> altogether, and start using direct sql to the server.
> 
> However we are finding that the contents of products.txt is being
> imported - overwriting any remote changes.
> 
> I thought this might be any one of a number of scripts which I have
> created - triggered by a change in products.txt which import the data
> via sql.
> 
> However blanking /etc/crontab does not prevent these updates from occuring.
> 
> Is there some way of governing the behaviour of interchange to ignore
> files like products.txt, allowing changes to be updated through mysql only?

Add the following line to your catalog.cfg file:

NoImport products

See <http://www.interchange.rtfm.info/icdocs/config/NoImport.html>

Peter


More information about the interchange-users mailing list