| Summary: | Add option to message_queue to exclude specific letter codes | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Andrew Fuerste-Henry <andrew> |
| Component: | Notices | Assignee: | Bugs List <koha-bugs> |
| Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | dcook, sally.healey |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27265 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 25097 | ||
| Bug Blocks: | |||
|
Description
Andrew Fuerste-Henry
2020-11-25 20:31:58 UTC
(In reply to Andrew Fuerste-Henry from comment #0) > Bug 25907 allows one to set process_message_queue to only send notices with > the specified letter codes. In some cases, it'd be hand to invert that and > list notices to be excluded. So an exclude-list rather than an include-list. I think you may have made a typo there as Bug 25907 doesn't do that. I'm interested to hear more though. Oops! Transposed a couple numbers. The correct number is bug 25097. Would it be useful to do this one as a system preference rather than (or in addition to) a command line switch? I'm intrigued by Bug 24968. I recently made a local modification to membership_expiry.pl, and I opted to go with a system preference instead, so that that individual libraries could determine some settings. It also made it easier from a vendor point of view as we didn't need to mess with any of the existing cronjobs. I am not sure this one would work as a system preference actually. It allows you to set up different runs of process_message_queue to process different messages. Like you can set it up to process the checkout and checkin notices every 15 minutes, but do all others in a 5 minute interval. That doesn't work in a pref. (In reply to Katrin Fischer from comment #4) > I am not sure this one would work as a system preference actually. It allows > you to set up different runs of process_message_queue to process different > messages. Like you can set it up to process the checkout and checkin notices > every 15 minutes, but do all others in a 5 minute interval. That doesn't > work in a pref. Ahh I understand. Yeah that would be problematic. What you describe would actually be super useful. It looks like we have an 'include' option with -t, but not an 'exclude' option still:
This script has the following parameters :
-u --username: username of mail account
-p --password: password of mail account
-t --type: If supplied, only processes this type of message ( email, sms ), repeatable
-c --code: If supplied, only processes messages with this letter code, repeatable
|