<<

NAME

cancel_expired_holds.pl - cron script to cancel holds as they expire

SYNOPSIS

  ./cancel_expired_holds.pl
  ./cancel_expired_holds.pl --reason="EXPIRED"

or, in crontab:

  0 1 * * * cancel_expired_holds.pl
  0 1 * * * cancel_expired_holds.pl --reason="EXPIRED"

DESCRIPTION

This script calls C4::Reserves::CancelExpiredReserves which will find and cancel all expired reserves in the system.

OPTIONS

--help

Print a brief help message and exits.

--reason

Optionally adds a reason for cancellation (which will trigger a notice to be sent to the patron)

<<