@@ -, +, @@ --- debian/koha-common.cron.daily | 2 +- misc/cronjobs/automatic_renewals.pl | 8 ++++---- misc/cronjobs/crontab.example | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) --- a/debian/koha-common.cron.daily +++ a/debian/koha-common.cron.daily @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl +koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/automatic_renewals.pl -c koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/fines.pl koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c --- a/misc/cronjobs/automatic_renewals.pl +++ a/misc/cronjobs/automatic_renewals.pl @@ -23,10 +23,10 @@ automatic_renewals.pl - cron script to renew loans =head1 SYNOPSIS -./automatic_renewals.pl [--send-notices] +./automatic_renewals.pl [-c|--confirm] [--send-notices] or, in crontab: -0 3 * * * automatic_renewals.pl +0 3 * * * automatic_renewals.pl -c =head1 DESCRIPTION @@ -44,11 +44,11 @@ Send AUTO_RENEWALS notices to patrons if the auto renewal has been done. Note that this option does not support digest yet. -=item B<--verbose> +=item B<-v|--verbose> Print report to standard out. -=item B<--confirm> +=item B<-c|--confirm> Without this parameter no changes will be made --- a/misc/cronjobs/crontab.example +++ a/misc/cronjobs/crontab.example @@ -48,7 +48,7 @@ KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs # AUTOMATIC RENEWAL + FINES + OVERDUE NOTICES # Sequence is important - renew what can be renewed, charge fines for the rest, print fine amount into overdue notices -5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl; $KOHA_CRON_PATH/fines.pl; $KOHA_CRON_PATH/overdue_notices.pl -t +5 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/automatic_renewals.pl -c; $KOHA_CRON_PATH/fines.pl; $KOHA_CRON_PATH/overdue_notices.pl -t # ADVANCE NOTICES 10 1 * * * __KOHA_USER__ $KOHA_CRON_PATH/advance_notices.pl -c --