Bug 28962: Add del-unv-selfreg to crontab
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 7 Sep 2021 14:14:44 +0000 (14:14 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 22 Jan 2022 07:34:51 +0000 (21:34 -1000)
commitc200bf6bc94e5920cbe48f191d53dfd44918134f
tree681029176e762305695895a79d83a71d94b4bd9b
parent60ab9ddcfbfc117a46bb87a3a2484ec45addb194
Bug 28962: Add del-unv-selfreg to crontab

We also add a test by inserting a simulated borrower modification
record in the same table which should not be deleted.

NOTE: This patch fixes the del-unv-selfreg parameter in the
cleanup db script. It did not even do what it promised :)

Test plan:
Verify if the crontab change is correct.
Run t/db_dependent/Members.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
debian/koha-common.cron.daily
misc/cronjobs/cleanup_database.pl
misc/cronjobs/crontab.example
t/db_dependent/Members.t