90c2418 Nightly authority linking CRON entry repair
authorYour Name <you@example.com>
Wed, 18 May 2016 19:24:34 +0000 (15:24 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
When running jobs past midnight, be sure to search for records modified
the previous day, not just today, for linking.

Signed-off-by: Your Name <you@example.com>
KCLS/utility-scripts/CRONTAB

index 559b246..af001e3 100644 (file)
@@ -105,10 +105,10 @@ PGHOST     = localhost
 # 30 23 * * 0 . ~/.bashrc && cd /openils/var/web && /openils/bin/sitemap_generator --lib-hostname evgtesting.kcls.org --lib-shortname KCLS --prefix standalone/sitemaps/
 
 # Link newly created authority records
-# 0 2 * * * . ~/.bashrc && cd /home/opensrf/Evergreen/KCLS/linking && ./link-new-auth-records.pl --new-since 0 --link-auths --link-bibs --progress
+# 0 2 * * * . ~/.bashrc && cd /home/opensrf/Evergreen/KCLS/linking && ./link-new-auth-records.pl --new-since 1 --link-auths --link-bibs --progress
 #
 # (Re-)Link newly created or modified bib records
-# 0 3 * * * . ~/.bashrc && cd /home/opensrf/Evergreen/KCLS/linking && ./authority_control_fields.pl --refresh --modified-since 0
+# 0 3 * * * . ~/.bashrc && cd /home/opensrf/Evergreen/KCLS/linking && ./authority_control_fields.pl --refresh --modified-since 1
 
 # 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