Bug 27265: Enable message queue cron to accept multiple codes and types
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Dec 2020 13:45:06 +0000 (08:45 -0500)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 18 Oct 2022 00:11:40 +0000 (21:11 -0300)
commitda7bcc2252666e31c64d7edaecc3fc59ead79a0d
tree354197d17b65727b2db2be966b8be5315470adb9
parent43ecb3c86c8770ae2606dc0f64aa316a35bc8adf
Bug 27265: Enable message queue cron to accept multiple codes and types

It would be nice to be able to combine several types in a single run,
but exclude others, without having to have multiple cron lines

Test Plan:
1) Apply this patch
2) Run process_message_queue.pl with a single -c parameter
3) Note behavior is unchanged
4) Run process_message_queue.pl with multiple -c parameters
5) Note all the codes specified are processed
6) Repeat 2-5 with -t for type limits

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Letters.pm
misc/cronjobs/process_message_queue.pl