Michael Doran Home Page
Contact | Site Map | Search  
  Home > Archives > Using Scripts > Reading & Writing > Example #1: patron-update 1
This page is deprecated: please read archives disclaimer.

Using Scripts to Automate Voyager Tasks

Example #1: patron-update 1 2 3 4 5 6

#!/bin/ksh

###################################################
#
#  Shell script: patron-update
#
#  1999, Michael Doran, doran@uta.edu
#  University of Texas at Arlington Libraries 
#
#  Runs the Voyager Patron Update program (see
#  Voyager Technical Manual, page 65) which
#  takes a patron file generated and FTP'd over
#  by AIS and updates the Voyager patron database. 
#
#  Runs via the "voyager" crontab.
#
###################################################

# Do update
/m1/voyager/xxxdb/sbin/Pptrnupdt \
    -p /export/home/aisftp/LBJ00024.D01 \
    -m 2000 \
    -o I

# and exit script
exit 0