<<

NAME

automatic_renewals.pl - cron script to renew loans

SYNOPSIS

./automatic_renewals.pl [--send-notices]

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

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.

<<