3.2 marc_stream_importer requires a workstation
authorBill Erickson <berickxx@gmail.com>
Fri, 11 Jan 2019 21:27:29 +0000 (16:27 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/admin-scripts/eg-marc-stream-control.sh
KCLS/sql/schema/deploy/3.2-additions.sql

index 903e2f1..e46c7a4 100755 (executable)
@@ -10,6 +10,7 @@ BIB_QUEUE=14
 BIB_MERGE_PROFILE=1
 AUTH_QUEUE=4847
 AUTH_MERGE_PROFILE=160
+WORKSTATION="PR-Connexion-Stream"
 
 # marc_stream_importer.pl creates the PID file for us
 function marc_stream_start {
@@ -29,6 +30,7 @@ function marc_stream_start {
         --auth-import-no-match \
         --bib-queue $BIB_QUEUE \
         --auth-queue $AUTH_QUEUE \
+        --workstation "$WORKSTATION" \
         >> /dev/null 2>&1 &
 }
 
index 0e2ea53..7092996 100644 (file)
@@ -15,6 +15,10 @@ BEGIN
                 WHERE code = 'APPLY_WORKSTATION_SETTING')
         );
 
+    -- workstation for marc_stream_importer.pl
+    INSERT INTO actor.workstation (owning_lib, name) 
+        VALUES (1531, 'PR-Connexion-Stream');
+
     END IF; -- insert_on_deploy
 END $INSERT$;