borrower import from a command line
Question for you programmer type and release managers... I am working on a command line batch load utility which is about done. We mimicked the staff interface, and in doing so there are "responses/defaults" that can be done during a load. What our programmer did was to direct it to a file so if the table row was referenced in the default file the program loaded the default. My question is - where should that "default" file live? I see the borrower_import_command.pl living in the cronjobs folder so is it ok for this "default" file to live there as well? There are other commands for Overwrite, and load all extended attributes etc... that are part of the command line. -- View this message in context: http://old.nabble.com/borrower-import-from-a-command-line-tp27917855p2791785... Sent from the Koha - Dev mailing list archive at Nabble.com.
I would recommend /bin or /bin/migration_tools for the borrower_import_command.pl As for the config (defaults) file, either /etc or /misc would be my recommendation. Good luck. On Tue, 2010-03-16 at 06:35 -0700, David Schuster wrote:
Question for you programmer type and release managers... I am working on a command line batch load utility which is about done. We mimicked the staff interface, and in doing so there are "responses/defaults" that can be done during a load. What our programmer did was to direct it to a file so if the table row was referenced in the default file the program loaded the default. My question is - where should that "default" file live? I see the borrower_import_command.pl living in the cronjobs folder so is it ok for this "default" file to live there as well? There are other commands for Overwrite, and load all extended attributes etc... that are part of the command line.
-- Michael Hafen Systems Analyst and Programmer Washington County School District Utah, USA for Koha checkout http://development.washk12.org/gitweb/ or git://development.washk12.org/koha
participants (2)
-
David Schuster -
Michael Hafen