[Koha-bugs] [Bug 21322] process_message_queue.pl --type should take an argument

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 6 15:29:21 CEST 2018


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

--- Comment #1 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 78476
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78476&action=edit
Bug 21322 - process_message_queue.pl --type should take an argument

The help for this script says:
-t --type: If supplied, only processes this type of message ( email, sms )

Currently, the type argument is set up wrong, so it does not look
for an argument. This patch fixes that.

To test, run this command (should work in kohadevbox) or something
similar:

$ sudo koha-shell -c "perl \
/home/vagrant/kohaclone/misc/cronjobs/process_message_queue.pl -v \
--type=sms" kohadev

This should give the following error: "Option type does not take an argument".
Apply the patch and run the same command again. This should not give an
error.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list