<<

NAME

cancel_unfilled_holds.pl - script to delete unfilled holds after a given number of days.

SYNOPSIS

 cancel_unfilled_holds.pl [--days][--library][--holidays][--confirm][--verbose][--reason]

OPTIONS

--help | -h

Print brief help and exit.

--days

Specify the number of days waiting since a hold that remains unfilled was placed. E.g. a value of 730 would cancel holds placed 2 years ago or more that have never been filled

--library

Repeatable option to specify which branchcode(s) to cancel holds for.

--holidays

This switch specifies whether to count holidays as days waiting. Default is no.

--confirm

Without this option, the script will run in test mode, and only report what it would have done if it were not running in test mode.

--verbose | -v

More verbose output.

--reason

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

<<