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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 08:54:03 CET 2020


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

Hugo Agud <hagud at orex.es> changed:

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

--- Comment #5 from Hugo Agud <hagud at orex.es> ---
Created attachment 98899
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98899&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>

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


More information about the Koha-bugs mailing list