[Koha] Bulk insert with crontab.

aszomor at szomor.hu aszomor at szomor.hu
Mon Aug 6 21:01:42 NZST 2012


Dear All,

I tried the bulkmarcimport.pl with -b -d -i options, but it were  
unsuccessfully becouse of:
-- "-d" options truncate commands were failed with foreign key violatoins
-- "-i" option did not find the ISBN in the database

The program did not died when the truncates did not succeded and the  
already existent records duplicated!

How can I do a successfully batch import ?

Thanks,
Attila.

http://dev.mysql.com/doc/refman/5.6/en/truncate-table.html
TRUNCATE TABLE fails for an InnoDB table if there are any FOREIGN KEY  
constraints from other tables that reference the table.




More information about the Koha mailing list