Josh,
It's in the same github repo with all of our other stuff:
https://github.com/mcoia/mobius_evergreen/blob/master/Random/age_protect_remove.pl
You will need Mobiusutil.pm and Loghandler.pm and maybe another library
(located in the root of the repo)
-Blake-
Conducting Magic
MOBIUS
573-234-4513
877-312-3517
On 12/15/2015 11:34 AM, Josh Stompro wrote:
Blake and Tim, I would appreciate being able to see your scripts.
Thanks
Josh Stompro - LARL IT Director
*From:*Open-ils-general
[mailto:[email protected]] *On Behalf
Of *Blake Henderson
*Sent:* Tuesday, December 15, 2015 9:27 AM
*To:* [email protected]
*Subject:* Re: [OPEN-ILS-GENERAL] Removing Age Protection after expired
Josh,
We have a custom made perl cron job to remove the protection. I didn't
realize it was a bug! I would be happy to share the perl script (it is
fairly custom to our needs but it can be adapted easily)
-Blake-
Conducting Magic
MOBIUS
573-234-4513
877-312-3517
On 12/15/2015 9:24 AM, Josh Stompro wrote:
Hello, does anyone else out there remove the age protection from
copies after it has expired. I’ve been asked to set that up, and
it seems like a shame since it was designed to just work
automatically, except that items with expired age protection still
show up as age protected in the catalog. There is a bug open
about it at https://bugs.launchpad.net/evergreen/+bug/1251761
Does anyone currently go through and remove the age protection to
get around that issue? If so do you do it directly at the DB
level or do you use the client? Are there any gotchas about
directly updating asset.copy to change the age protection and also
changing the shelving location at the same time.
If anyone wants to combine resources to get that bug fixed, either
with brain power or development funding let me know also.
Josh
Lake Agassiz Regional Library - Moorhead MN larl.org
Josh Stompro | Office 218.233.3757 EXT-139
LARL IT Director | Cell 218.790.2110