[Koha-bugs] [Bug 15529] Process Message Queue may send duplicate emails if process is launched twice

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 24 19:16:44 CEST 2018


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

--- Comment #13 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 78918
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78918
Bug 15529 - Locking process_message_queue.pl cron whilst it is running

Review of attachment 78918:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15529&attachment=78918)
-----------------------------------------------------------------

::: misc/cronjobs/process_message_queue.pl
@@ +100,5 @@
> +);
> +
> +$email->attach(
> +Type => 'Text',
> + Data => 'process_message_queue.pl cron is already running',

If another process is running, why not queue this as a message, rather than add
another layer of emailing ugliness?

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


More information about the Koha-bugs mailing list