https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40934

            Bug ID: 40934
           Summary: process_message_queue.pl add ability to exclude some
                    letter code
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

It would help to add an argument to process_message_queue.pl to exclude some
letter-code (like a blacklist, send all letter-code except these ones)

Use case : 
Some library would like to send digest once per day (say at 20:05) but all
others message every hour.
It is currently possible to do that by having 2 lines process_message_queue.pl
that way :
```
00 */1 * * * process_message_queue.pl --code ACQ_NOTIF_ON_RECEIV --code CART
... # list all message except digest
05 20 * * * process_message_queue.pl #send all message including digest
```
The problem with this method is that we have to list almost all letter-code in
the first line (around 85), there is a high chance that we forget some
notification in the every hour line (thus these notifications will not be sent
every hour as wanted)

It would be great to be able to do it by excluding some letter code 
example: 
```
00 */1 * * * process_message_queue.pl --xcode DUEDGST --xcode PREDUEDGST
--xcode HOLDDGST --xcode AUTO_RENEWALS_DGST # send all exepct digest
05 20 * * * process_message_queue.pl # send all including digest
```
(In this example, argument is xcode for exclude code but I'm not sure about the
name)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to