[Koha-bugs] [Bug 23571] fines.pl may block server

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 19 17:57:45 CET 2020


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #99263|0                           |1
        is obsolete|                            |

--- Comment #7 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 99264
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99264&action=edit
Bug 23571: Add flock to fines.pl

This patch adds a lock file for fines.pl.

To test:
1. Apply this patch
2. In two separate consoles run misc/cronjobs/fines.pl
SUCCESS => The first one runs normally, but the second one fails with a message
flock failed for the lock file.
3. Sign off.

Sponsored-by: Orex Digital
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list