<<

NAME

automatic_renewals.pl - cron script to renew loans

SYNOPSIS

./automatic_renewals.pl [-c|--confirm] [--send-notices]

or, in crontab: 0 3 * * * automatic_renewals.pl -c

DESCRIPTION

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.

OPTIONS

--send-notices

Send AUTO_RENEWALS notices to patrons if the auto renewal has been done.

Note that this option does not support digest yet.

-v|--verbose

Print report to standard out.

-c|--confirm

Without this parameter no changes will be made

<<