= Linking =
+Deprecate link-new-auth-records.pl? -- It's not currently
+used and I believe all of its features have been duplicated in
+authority_control_fields.pl and authority_authority_linker.pl
+
== Re-Link All Bibs Over 1 Week ==
[source,sh]
# web sitemap generator NOTE: change lib-hostname accordingly
# 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 --modified-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 1
+# Update bib-2-auth links for bibs affected by authority record changes.
+# 0 5 * * * . ~/.bashrc && cd $SCRIPT_DIR/../authority-control/linking && ./authority_control_fields.pl --auth-mod-since $(date -d -1day +'\%F')
+
+# Update auth-2-auth links for new or modified authority records
+# 0 6 * * * . ~/.bashrc && cd $SCRIPT_DIR/../authority-control/linking && ./authority_authority_linker.pl --auth-mod-since $(date -d -1day +'\%F')
# 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