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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 21 Dec 2022 20:57:44 +0000 (20:57 +0000)
commitb51e6cd465b8078c6757b17e9fe6b5980612381a
treeb575fcfe87e9c188c8f8e3ced59a5c9a8705c73c
parent5e6d1a10bb88b79d12bc1cd39338a4e21296cabd
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>
(cherry picked from commit da7bcc2252666e31c64d7edaecc3fc59ead79a0d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Letters.pm
misc/cronjobs/process_message_queue.pl