JBAS-1581 Backstage cron updates and docs
authorBill Erickson <berickxx@gmail.com>
Thu, 11 May 2017 20:37:52 +0000 (16:37 -0400)
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/authority-control/backstage/README.adoc
KCLS/utility-scripts/CRONTAB

index 564cdf6..8e5fc86 100644 (file)
@@ -9,8 +9,6 @@ cd /home/opensrf/Evergreen/KCLS/authority-control/backstage/
 # Monthly authority imports
 ./backstage-agent.sh -a
 
-==
-
 # Export bibs, use db05 for heavy query.
 ./backstage-agent.sh -d db05 -b
 
index f1dc974..31d5731 100644 (file)
@@ -136,6 +136,18 @@ BACKSTAGE_PASSWORD = BSPASS
 # Imports are available the 3rd Wednesday of every month.
 # 50 23 15-21 * * [ `date +\%u` = 3 ] && cd $SCRIPT_DIR/../authority-control/backstage/ && ./backstage-agent.sh -a
 
+# Backstage quarterly bib export                                               
+# Exports occur the second Friday of each quarter at noon.
+# 0 12 8-14 1  * [ `date +\%u` = 5 ] && cd $SCRIPT_DIR/../authority-control/backstage/ && ./backstage-agent.sh -d db05 -b
+# 0 12 8-14 4  * [ `date +\%u` = 5 ] && cd $SCRIPT_DIR/../authority-control/backstage/ && ./backstage-agent.sh -d db05 -b
+# 0 12 8-14 7  * [ `date +\%u` = 5 ] && cd $SCRIPT_DIR/../authority-control/backstage/ && ./backstage-agent.sh -d db05 -b
+# 0 12 8-14 10 * [ `date +\%u` = 5 ] && cd $SCRIPT_DIR/../authority-control/backstage/ && ./backstage-agent.sh -d db05 -b
+#
+# Backstage authority record monthly updates                                   
+# Imports are available the 3rd Thursday of every month,                       
+# but are imported early on the 3rd Friday of every month.                     
+# 0 1 15-21 * * [ `date +\%u` = 5 ] && cd $SCRIPT_DIR/../authority-control/backstage/ && ./backstage-agent.sh -a
+
 # Anonymize a range of historical circs each night, with a maximum run
 # time of 120 minutes.  We split them up, because each range takes time
 # to run (~45 minutes). The first range starts at 2004-08-12, which is the