From 7f05fba89709cadd2820a8038c98acc3da8644c4 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 11 May 2017 16:37:52 -0400 Subject: [PATCH] JBAS-1581 Backstage cron updates and docs Signed-off-by: Bill Erickson --- KCLS/authority-control/backstage/README.adoc | 2 -- KCLS/utility-scripts/CRONTAB | 12 ++++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/KCLS/authority-control/backstage/README.adoc b/KCLS/authority-control/backstage/README.adoc index 564cdf6d01..8e5fc86943 100644 --- a/KCLS/authority-control/backstage/README.adoc +++ b/KCLS/authority-control/backstage/README.adoc @@ -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 diff --git a/KCLS/utility-scripts/CRONTAB b/KCLS/utility-scripts/CRONTAB index f1dc97441d..31d57316b4 100644 --- a/KCLS/utility-scripts/CRONTAB +++ b/KCLS/utility-scripts/CRONTAB @@ -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 -- 2.11.0