From: Jane Sandberg <sandbej@linnbenton.edu> Date: Mon, 2 Oct 2017 05:05:38 +0000 (-0700) Subject: Docs: Juvenile-to-adult script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=717bb89c2f5318e3722d9490e34e8a013b6e7ea5;p=evergreen%2Fjoelewis.git Docs: Juvenile-to-adult script Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu> --- diff --git a/docs/development/support_scripts.adoc b/docs/development/support_scripts.adoc index 7c604a02c7..f0addfe99d 100644 --- a/docs/development/support_scripts.adoc +++ b/docs/development/support_scripts.adoc @@ -178,6 +178,17 @@ that command looks like: psql -U evergreen -h localhost -d evergreen -f pg_loader-output.sql ---- +Juvenile-to-adult batch script +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The batch `juv_to_adult.srfsh` script is responsible for toggling a patron +from juvenile to adult. It should be set up as a cron job. + +This script changes patrons to adult when they reach the age value set in the +library setting named "Juvenile Age Threshold" (`global.juvenile_age_threshold`). +When no library setting value is present at a given patron's home library, the +value passed in to the script will be used as a default. + MARC Stream Importer ~~~~~~~~~~~~~~~~~~~~