automatic_renewals.pl - cron script to renew loans
./automatic_renewals.pl
or, in crontab: 0 3 * * * automatic_renewals.pl
This script searches for issues scheduled for automatic renewal (issues.auto_renew). If there are still renews left (Renewals allowed) and the renewal isn't premature (No Renewal before) the issue is renewed.
No options.