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.
(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
I believe this is made irrelevant by Bug 31453.