cancel_unfilled_holds.pl - script to delete unfilled holds after a given number of days.
cancel_unfilled_holds.pl [--days][--library][--holidays][--confirm][--verbose][--reason]
Print brief help and exit.
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
Repeatable option to specify which branchcode(s) to cancel holds for.
This switch specifies whether to count holidays as days waiting. Default is no.
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.
More verbose output.
Optionally adds a reason for cancellation (which will trigger a notice to be sent to the patron)