tadl/eg-scripts — pull request #1 by bmagic007 (2013-11-27 21:50:11+00:00)
Title: Adding new script to recalculate penalties directly

recalc_penalties_direct.pl is the main addition here. I added some perl modules that have some general functionality for the script however only using some of the functionality. Mobiusutil.pm contains many general functions that I use for many of my projects.

This script will create a user in actor.usr and a workstation in actor.workstation for opensrf authorization. If the script runs more than once, it will use those already-created rows in the DB.

It will not run on the whole database. It only looks at patrons who have overdue items inside the last 48 hour period AND who do not have penalties 1,2,3,4

This may not be the final resting place for this script. This might belong somewhere else but I am new to the community and I defer to your judgment.

-Blake-